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_container.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/cpp11_container.h') diff --git a/src/util/cpp11_container.h b/src/util/cpp11_container.h index 0194385fc..a09154071 100644 --- a/src/util/cpp11_container.h +++ b/src/util/cpp11_container.h @@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define USE_UNORDERED_CONTAINERS #endif -#if _MSC_VER >= 1600 +#if defined(_MSC_VER) && _MSC_VER >= 1600 #define USE_UNORDERED_CONTAINERS #endif -- cgit v1.2.3