PHP 4.0 Bug #4726: Change to make in reentrancy.c to allow compilation on HP-UX 10.20 with multi p

From: Date: Wed, 31 May 2000 12:17:28 +0000
Subject: PHP 4.0 Bug #4726: Change to make in reentrancy.c to allow compilation on HP-UX 10.20 with multi p
Groups: php.dev 
Request: Send a blank email to php-dev+get-19870@lists.php.net to get a copy of this message
From: pierre.vassellerie@obspm.fr Operating system: HP-UX 10.20 with multi processors PHP version: 4.0 Release Candidate 2 PHP Bug Type: Compile Failure Bug description: Change to make in reentrancy.c to allow compilation on HP-UX 10.20 with multi p This bug concerns also the final version of php 4.0. For compilation on HP-UX with SMP, you have to add in reentrancy.c: && !defined(PHP_HPUX_TIME_R) at the end of lines: #if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME) ... #if !defined(HAVE_CTIME_R) && defined(HAVE_CTIME) ... #if !defined(HAVE_ASCTIME_R) && defined(HAVE_ASCTIME) ... #if !defined(HAVE_GMTIME_R) && defined(HAVE_GMTIME) ... Otherwise you have a redefinition of the functions php_localtime_r, php_ctime_r, php_asctime_r and php_gmtime_r.

« previous php.dev (#19870) next »