better preprocessor check for recent MSVC versions
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user