mirror of
https://github.com/php/php-src.git
synced 2026-04-08 00:22:52 +02:00
Avoid building two versions of the time-related reentrant functions.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user