From f72490950a178ecf667181eb8c2b2243ba400e8d Mon Sep 17 00:00:00 2001 From: mazocomp <33579456+mazocomp@users.noreply.github.com> Date: Fri, 20 Apr 2018 20:55:23 +0300 Subject: Fix C++11 feature detection for undefined _MSC_VER (#7255) --- src/util/cpp11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/cpp11.h') 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 -- cgit v1.2.3