diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-18 20:30:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-18 20:30:37 +0300 |
commit | 2dc350899693ba27c2df04913e356e7115d678b3 (patch) | |
tree | c285b58166b621f255d0a1fa8db0a8723ee9a782 /src | |
parent | 4634a027d750565b2ecb226e5182c202da422cf6 (diff) | |
download | manaverse-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')
-rw-r--r-- | src/localconsts.h | 6 |
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 |