diff options
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.h.cmake b/config.h.cmake index d3a76c77c39..3732171892b 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -433,11 +433,11 @@ #cmakedefine strtoll @strtoll@ #cmakedefine strtoull @strtoull@ #cmakedefine vsnprintf @vsnprintf@ -#if (_MSC_VER > 1800) +#if defined(_MSC_VER) && (_MSC_VER > 1800) #define tzname _tzname #define P_tmpdir "C:\\TEMP" #endif -#if (_MSC_VER > 1310) +#if defined(_MSC_VER) && (_MSC_VER > 1310) # define HAVE_SETENV #define setenv(a,b,c) _putenv_s(a,b) #endif |