aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 8efdf209b..b9703cfcf 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -352,7 +352,7 @@
/* Undef keyword 'const' if it does not work. */
/* #undef const */
-#if _MSC_VER > 1310
+#if defined(_MSC_VER) && (_MSC_VER > 1310)
/* MSVC 2003 has gmtime_r */
#define HAVE_GMTIME_R
#endif