aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */
/* ---------------------------------------------------------------- */