From: Sascha Schumann Date: Wed, 24 May 2000 10:44:57 +0000 (+0000) Subject: Avoid building two versions of the time-related reentrant functions. X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff4031585ae93d59cd129668326e91a25bc9ab17;p=php Avoid building two versions of the time-related reentrant functions. --- diff --git a/main/reentrancy.c b/main/reentrancy.c index 8a135508a5..d9dd97fec8 100644 --- a/main/reentrancy.c +++ b/main/reentrancy.c @@ -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)