Commit d6b06128 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

better preprocessor check for recent MSVC versions

parent 4c65eb0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -352,7 +352,7 @@
/* Undef keyword 'const' if it does not work.  */
/* Undef keyword 'const' if it does not work.  */
/* #undef const */
/* #undef const */


#if _MSC_VER > 1310
#if defined(_MSC_VER) && (_MSC_VER > 1310)
/* MSVC 2003 has gmtime_r */
/* MSVC 2003 has gmtime_r */
#define HAVE_GMTIME_R
#define HAVE_GMTIME_R
#endif
#endif