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

diff --git a/NEWS b/NEWS
index 822b46c70162067765044d17a7f2259aaff7edae..dada365d6bc9fe4a235a4a775207deaf39b34252 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2009, PHP 5.2.11
+- Fixed bug #48636 (Error compiling of ext/date on netware). (guenter at
+  php.net, Ilia)
 - Fixed bug #48629 (get_defined_constants() ignores categorize parameter).
   (Felipe)
 - Fixed bug #48276 (date("Y") on big endian machines produces the
index 29a348fb70fe6a87cb9e37acb541747d5d814098..50f95645cfbbb888c80346c3a17f132fc23f1505 100644 (file)
@@ -38,6 +38,10 @@ static __inline __int64 llabs( __int64 i ) { return i >= 0? i: -i; }
 static __inline __int64_t llabs( __int64_t i ) { return i >= 0 ? i : -i; }
 #endif
 
+#if defined(NETWARE) && defined(__MWERKS__)
+static __inline long long llabs( long long i ) { return i >= 0 ? i : -i; }
+#endif
+
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_date, 0, 0, 1)