From: Derick Rethans Date: Thu, 16 Dec 2004 13:06:46 +0000 (+0000) Subject: - MF43: Fixed bug #31107 (strtod on solaris9/intel) X-Git-Tag: php-5.0.4RC1~468 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8babcb4284f0b1791fa3734aeea0a24ae0bc59f2;p=php - MF43: Fixed bug #31107 (strtod on solaris9/intel) --- diff --git a/NEWS b/NEWS index d76a04710b..470be46f57 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ PHP NEWS ?? ??? 2005, PHP 5.0.4 - Fixed bug #31111 (Compile failure of zend_strtod.c). (Derick) - Fixed bug #31110 (PHP 4.3.10 does not compile on Tru64 UNIX 5.1B). (Derick) +- Fixed bug #31107 (Complile failure on Solaris 9 (Intel) and gcc 3.4.3). (Derick) - Fixed bug #31056 (php_std_date() returns invalid formatted date if y2k_compliance is On). (Ilia) diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index 4b8c0fcb49..b5da3a02b7 100644 --- a/Zend/zend_strtod.c +++ b/Zend/zend_strtod.c @@ -127,7 +127,7 @@ static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $" #define IEEE_LITTLE_ENDIAN #endif -#if defined(__sparc__) || defined(__ppc__) +#if defined(__sparc__) || defined(__ppc__) || defined(__sun__) #ifndef __linux__ #define u_int32_t uint32_t #endif