From: Hannes Magnusson Date: Wed, 17 Jun 2009 17:56:17 +0000 (+0000) Subject: MFB5.2: "Make this happy on gcc2" X-Git-Tag: php-5.3.0RC4~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b685def15acadf29e0657dc6bce3c53404948f3b;p=php MFB5.2: "Make this happy on gcc2" --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index a52188f88b..5b9c7e9df3 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -35,6 +35,10 @@ # include "win32/php_stdint.h" #endif +#if defined(__GNUC__) && __GNUC__ < 3 +static __inline __int64_t llabs( __int64_t i ) { return i >= 0 ? i : -i; } +#endif + /* {{{ arginfo */ ZEND_BEGIN_ARG_INFO_EX(arginfo_date, 0, 0, 1) ZEND_ARG_INFO(0, format)