summaryrefslogtreecommitdiff
path: root/ext/date/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/config.w32')
-rwxr-xr-xext/date/config.w321
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/config.w32 b/ext/date/config.w32
index ff5c4fff1c..889032aa85 100755
--- a/ext/date/config.w32
+++ b/ext/date/config.w32
@@ -11,6 +11,7 @@ var tl_config = FSO.CreateTextFile("ext/date/lib/timelib_config.h", true);
tl_config.WriteLine("#include \"config.w32.h\"");
tl_config.WriteLine("#include <php_stdint.h>");
tl_config.WriteLine("#define TIMELIB_OMIT_STDINT 1");
+tl_config.WriteLine("#define HAVE_GETTIMEOFDAY 1");
tl_config.WriteLine("#include \"zend.h\"");
tl_config.WriteLine("#define timelib_malloc emalloc");
tl_config.WriteLine("#define timelib_realloc erealloc");