]> granicus.if.org Git - php/commitdiff
- fix build
authorPierre Joye <pajoye@php.net>
Mon, 4 May 2009 17:08:43 +0000 (17:08 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 4 May 2009 17:08:43 +0000 (17:08 +0000)
ext/date/php_date.c

index 1fee63ef9760127594e09e146e5a2fc9d00b124c..ef272fa5e868d90903a9358f955b59bd6f60f78e 100644 (file)
 #include "lib/timelib.h"
 #include <time.h>
 
+#ifdef PHP_WIN32
+static inline __int64 llabs( __int64 i ) { return i >= 0? i: -i; }
+#endif
+
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_date, 0, 0, 1)