diff options
author | mazocomp <33579456+mazocomp@users.noreply.github.com> | 2018-04-20 20:55:23 +0300 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:32:00 +0200 |
commit | f72490950a178ecf667181eb8c2b2243ba400e8d (patch) | |
tree | b5adbb95ce42ee0038680f2a61afd44402826b31 /src/util/cpp11_container.h | |
parent | 9d3fa874be3509477243272cb23d892879348194 (diff) | |
download | minetest-f72490950a178ecf667181eb8c2b2243ba400e8d.tar.gz minetest-f72490950a178ecf667181eb8c2b2243ba400e8d.tar.bz2 minetest-f72490950a178ecf667181eb8c2b2243ba400e8d.zip |
Fix C++11 feature detection for undefined _MSC_VER (#7255)
Diffstat (limited to 'src/util/cpp11_container.h')
-rw-r--r-- | src/util/cpp11_container.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |