]> granicus.if.org Git - php/commitdiff
Avoid building two versions of the time-related reentrant functions.
authorSascha Schumann <sas@php.net>
Wed, 24 May 2000 10:44:57 +0000 (10:44 +0000)
committerSascha Schumann <sas@php.net>
Wed, 24 May 2000 10:44:57 +0000 (10:44 +0000)
main/reentrancy.c

index 8a135508a527ebf771a99dcba2ea3bc2ba3f3749..d9dd97fec87a56e6cd67dd0f2d78e0d21e5ba586 100644 (file)
@@ -59,6 +59,11 @@ static MUTEX_T reentrant_locks[NUMBER_OF_LOCKS];
 
 #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)