]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #48636 (Error compiling of ext/date on netware).
authorIlia Alshanetsky <iliaa@php.net>
Mon, 22 Jun 2009 13:43:06 +0000 (13:43 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 22 Jun 2009 13:43:06 +0000 (13:43 +0000)
ext/date/php_date.c

index df0cd571adcc248d3b39b7cb8305de44747e6bd7..fa0b30334469f5e7b6f75b92ae79fd2886e34347 100644 (file)
 # 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)