aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-12-05 15:24:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-12-05 15:24:18 +0000
commitd6b06128829d41c5e346bff424e48ddce0b7e990 (patch)
tree05c839212821d7892d4475b09089fd95591e8148
parent4c65eb0af841d95de24622e1b8212bf1c30c0c48 (diff)
better preprocessor check for recent MSVC versions
-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