cvs: php4 / reentrancy.c
[email protected] ("Sascha Schumann")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <cvssas959165097@cvsserver> |
sas Wed May 24 12:44:57 2000 EDT
Modified files:
/php4 reentrancy.c
Log:
Avoid building two versions of the time-related reentrant functions.
Index: php4/reentrancy.c
diff -u php4/reentrancy.c:1.16 php4/reentrancy.c:1.17
--- php4/reentrancy.c:1.16 Tue May 23 17:13:15 2000
+++ php4/reentrancy.c Wed May 24 12:44:57 2000
@@ -59,6 +59,11 @@
#if defined(PHP_HPUX_TIME_R)
+#define HAVE_LOCALTIME_R 1
+#define HAVE_CTIME_R 1
+#define HAVE_ASCTIME_R 1
+#define HAVE_GMTIME_R 1
+
PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm)
{
if (localtime_r(timep, p_tm) == 0)