From: Daniel Stenberg Date: Tue, 5 Dec 2006 15:24:18 +0000 (+0000) Subject: better preprocessor check for recent MSVC versions X-Git-Tag: curl-7_16_1~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b06128829d41c5e346bff424e48ddce0b7e990;p=thirdparty%2Fcurl.git better preprocessor check for recent MSVC versions --- diff --git a/lib/config-win32.h b/lib/config-win32.h index 8efdf209b6..b9703cfcf0 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