From ff4031585ae93d59cd129668326e91a25bc9ab17 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Wed, 24 May 2000 10:44:57 +0000 Subject: [PATCH] Avoid building two versions of the time-related reentrant functions. --- main/reentrancy.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main/reentrancy.c b/main/reentrancy.c index 8a135508a52..d9dd97fec87 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)