From 7cfcf294a0c2c0c91940a294c9fa2aaee8ba224a Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 4 May 2009 16:28:50 +0000 Subject: [PATCH] - fix build --- ext/date/php_date.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 2036652a04..3164b3b818 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -31,6 +31,11 @@ #include "lib/timelib.h" #include +#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) -- 2.50.1