better preprocessor check for recent MSVC versions

This commit is contained in:
Daniel Stenberg 2006-12-05 15:24:18 +00:00
parent 4c65eb0af8
commit d6b0612882
1 changed files with 1 additions and 1 deletions

View File

@ -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