From d6b06128829d41c5e346bff424e48ddce0b7e990 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 5 Dec 2006 15:24:18 +0000 Subject: better preprocessor check for recent MSVC versions --- lib/config-win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3