otherwise system defines will be used
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.Close();
PHP_INSTALL_HEADERS("ext/date/", "php_date.h lib/timelib.h lib/timelib_structs.h lib/timelib_config.h");
# include <php_config.h>
#endif
#include <php_stdint.h>
+#define TIMELIB_OMIT_STDINT 1
EOF
#include "timelib_config.h"
+#ifndef TIMELIB_OMIT_STDINT
+
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
# endif
#endif
+#endif /* TIMELIB_OMIT_STDINT */
+
#include <stdio.h>
#ifdef HAVE_STDLIB_H