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

index 2036652a044805ee08501920a7c2ab6c57e940a4..3164b3b818107883a76844421458e2bc7f74c470 100644 (file)
 #include "lib/timelib.h"
 #include <time.h>
 
+#ifdef PHP_WIN32
+# include "win32/php_stdint.h"
+static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
+#endif
+
 /* {{{ arginfo */
 ZEND_BEGIN_ARG_INFO_EX(arginfo_date, 0, 0, 1)
        ZEND_ARG_INFO(0, format)