iliaa Mon Jun 22 13:43:06 2009 UTC Modified files: /php-src/ext/date php_date.c Log: MFB: Fixed bug #48636 (Error compiling of ext/date on netware). http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.238&r2=1.239&diff_format=u Index: php-src/ext/date/php_date.c diff -u php-src/ext/date/php_date.c:1.238 php-src/ext/date/php_date.c:1.239 --- php-src/ext/date/php_date.c:1.238 Sun Jun 21 22:18:53 2009 +++ php-src/ext/date/php_date.c Mon Jun 22 13:43:06 2009 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_date.c,v 1.238 2009/06/21 22:18:53 scottmac Exp $ */ +/* $Id: php_date.c,v 1.239 2009/06/22 13:43:06 iliaa Exp $ */ #include "php.h" #include "php_streams.h" @@ -36,6 +36,10 @@ # include "win32/php_stdint.h" #endif +#if defined(NETWARE) && defined(__MWERKS__) +static __inline long long llabs( long long 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