summaryrefslogtreecommitdiff
path: root/win32/build/config.w32.h.in
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-12-14 02:01:13 +0000
committerWez Furlong <wez@php.net>2005-12-14 02:01:13 +0000
commitb041abbb4e3d4772f84c61dea019a3bf2744ddbc (patch)
tree324f7ce188174b6e3f2e7722bcfa6efbd9a96e9a /win32/build/config.w32.h.in
parent1b7e3fe2a5416b60cc093458dd0bfcfd580c52f1 (diff)
downloadphp-git-b041abbb4e3d4772f84c61dea019a3bf2744ddbc.tar.gz
Fixes for building with vs.net 2005.
Diffstat (limited to 'win32/build/config.w32.h.in')
-rw-r--r--win32/build/config.w32.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in
index b6994c6113..efcc1ba40a 100644
--- a/win32/build/config.w32.h.in
+++ b/win32/build/config.w32.h.in
@@ -142,3 +142,10 @@
#undef HAVE_ATOF_ACCEPTS_NAN
#undef HAVE_ATOF_ACCEPTS_INF
#define HAVE_HUGE_VAL_NAN 1
+
+/* vs.net 2005 has a 64-bit time_t. This will likely break
+ * 3rdParty libs that were built with older compilers; switch
+ * back to 32-bit */
+#define _USE_32BIT_TIME_T 1
+#define HAVE_STDLIB_H 1
+