bjori Wed Jun 17 17:56:17 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/date php_date.c Log: MFB5.2: "Make this happy on gcc2" http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.43.2.45.2.51.2.78&r2=1.43.2.45.2.51.2.79&diff_format=u Index: php-src/ext/date/php_date.c diff -u php-src/ext/date/php_date.c:1.43.2.45.2.51.2.78 php-src/ext/date/php_date.c:1.43.2.45.2.51.2.79 --- php-src/ext/date/php_date.c:1.43.2.45.2.51.2.78 Sun May 31 21:28:38 2009 +++ php-src/ext/date/php_date.c Wed Jun 17 17:56:17 2009 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_date.c,v 1.43.2.45.2.51.2.78 2009/05/31 21:28:38 stas Exp $ */ +/* $Id: php_date.c,v 1.43.2.45.2.51.2.79 2009/06/17 17:56:17 bjori Exp $ */ #include "php.h" #include "php_streams.h" @@ -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)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php