aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-12-05 15:00:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-12-05 15:00:14 +0000
commit318a8258fdac1a103eec29878c91850199cfdfd0 (patch)
tree9535648b5640a3f841c400836333b10857473980
parent17ae28e0feb08da02d785a69d08116d877df5ca9 (diff)
oops, fix belonging to the previous curl_getdate() fix since it makes MSVC
use gmtime_r
-rw-r--r--lib/config-win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 443be95e6..8efdf209b 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -352,6 +352,11 @@
/* Undef keyword 'const' if it does not work. */
/* #undef const */
+#if _MSC_VER > 1310
+/* MSVC 2003 has gmtime_r */
+#define HAVE_GMTIME_R
+#endif
+
/* ---------------------------------------------------------------- */
/* LDAP LIBRARY FILES */
/* ---------------------------------------------------------------- */