From: Rasmus Lerdorf Date: Fri, 5 Jun 2009 22:34:30 +0000 (+0000) Subject: Make this happy on gcc2 X-Git-Tag: php-5.2.10RC2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53a63b82d43a18784488823397c62882e78b95dc;p=php Make this happy on gcc2 --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index fa3f449fa7..d5aef811dc 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -34,6 +34,10 @@ static __inline __int64 llabs( __int64 i ) { return i >= 0? i: -i; } #endif +#if defined(__GNUC__) && __GNUC__ < 3 +static __inline __int64_t llabs( __int64_t i ) { return i >= 0 ? i : -i; } +#endif + /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_date, 0, 0, 1)