summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-04-26 16:33:05 +0300
committerMonty <monty@mariadb.org>2018-04-26 17:35:12 +0300
commit2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4 (patch)
tree9ad948abd204d9389d8dd45cbd8bfd373f2a861c /config.h.cmake
parent0bdc15d86ea94df6ed7ac07e69309d7b9b7281b2 (diff)
downloadmariadb-git-2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4.tar.gz
Fix a lot of compiler warnings found by -Wunused
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake4
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