summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-18 20:30:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-18 20:30:37 +0300
commit2dc350899693ba27c2df04913e356e7115d678b3 (patch)
treec285b58166b621f255d0a1fa8db0a8723ee9a782 /src/localconsts.h
parent4634a027d750565b2ecb226e5182c202da422cf6 (diff)
downloadManaVerse-2dc350899693ba27c2df04913e356e7115d678b3.tar.gz
ManaVerse-2dc350899693ba27c2df04913e356e7115d678b3.tar.bz2
ManaVerse-2dc350899693ba27c2df04913e356e7115d678b3.tar.xz
ManaVerse-2dc350899693ba27c2df04913e356e7115d678b3.zip
Relax a bit gcc version check for advanced constexpr support.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 82cbcbb25..eee549789 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -69,11 +69,11 @@
#if GCC_VERSION < 40900
#define constexpr2
#else // GCC_VERSION < 40900
-#if __cpp_constexpr > 201309
+#if __cpp_constexpr >= 201304
#define constexpr2 constexpr
-#else // __cpp_constexpr > 201309
+#else // __cpp_constexpr >= 201304
#define constexpr2
-#endif // __cpp_constexpr > 201309
+#endif // __cpp_constexpr >= 201304
#endif // GCC_VERSION < 40900
#endif // GCC_VERSION < 40700
#undef Z_NULL