1
0
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:
Sascha Schumann
2000-05-24 10:44:57 +00:00
parent 3c61d015c2
commit ff4031585a

View 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)