summaryrefslogtreecommitdiff
path: root/src/util/cpp11.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/cpp11.h')
-rw-r--r--src/util/cpp11.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/cpp11.h b/src/util/cpp11.h
index 14913cb86..17903f2e3 100644
--- a/src/util/cpp11.h
+++ b/src/util/cpp11.h
@@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef MT_CPP11_HEADER
#define MT_CPP11_HEADER
-#if __cplusplus < 201103L || _MSC_VER < 1600
+#if __cplusplus < 201103L || (defined(_MSC_VER) && _MSC_VER < 1600)
#define USE_CPP11_FAKE_KEYWORD
#endif