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

index 22110f1e207dee156e3c50f999bc889d925d2a80..5f495ed173a96c25cacabf0e862d60905ddc4142 100644 (file)
 #include <time.h>
 #include <unicode/udat.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)