diff options
Diffstat (limited to 'main/reentrancy.c')
-rw-r--r-- | main/reentrancy.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |