cvs: php4 / reentrancy.c

From: Date: Wed, 24 May 2000 10:44:57 +0000
Subject: cvs: php4 / reentrancy.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-15654@lists.php.net to get a copy of this message
sas Wed May 24 12:44:57 2000 EDT Modified files: /php4 reentrancy.c Log: Avoid building two versions of the time-related reentrant functions. Index: php4/reentrancy.c diff -u php4/reentrancy.c:1.16 php4/reentrancy.c:1.17 --- php4/reentrancy.c:1.16 Tue May 23 17:13:15 2000 +++ php4/reentrancy.c Wed May 24 12:44:57 2000 @@ -59,6 +59,11 @@ #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)

« previous php.version4 (#15654) next »