cvs: /php4 php_reentrancy.h
| From: | Sascha Schumann | Date: | Sun, 16 Apr 2000 16:33:21 +0000 |
| Subject: | cvs: /php4 php_reentrancy.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13611@lists.php.net to get a copy of this message | ||
sas Sun Apr 16 09:33:21 2000 EDT
Modified files:
/php4 php_reentrancy.h
Log:
Undefine HAVE_*_R, so that we get our replacements
Index: php4/php_reentrancy.h
diff -u php4/php_reentrancy.h:1.7 php4/php_reentrancy.h:1.8
--- php4/php_reentrancy.h:1.7 Sat Feb 19 15:21:25 2000
+++ php4/php_reentrancy.h Sun Apr 16 09:32:51 2000
@@ -33,6 +33,13 @@
#define HAVE_CTIME 1
+#ifdef PHP_HPUX_TIME_R
+#undef HAVE_LOCALTIME_R
+#undef HAVE_ASCTIME_R
+#undef HAVE_CTIME_R
+#undef HAVE_GMTIME_R
+#endif
+
#if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME)
#define PHP_NEED_REENTRANCY 1
#define localtime_r php_localtime_r