From: Ilia Alshanetsky Date: Mon, 22 Jun 2009 13:43:06 +0000 (+0000) Subject: MFB: Fixed bug #48636 (Error compiling of ext/date on netware). X-Git-Tag: php-5.4.0alpha1~191^2~3270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a5511cfc8c54700600c8e179808a4edfb478b65;p=php MFB: Fixed bug #48636 (Error compiling of ext/date on netware). --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index df0cd571ad..fa0b303344 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -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)