From 2dc350899693ba27c2df04913e356e7115d678b3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Mar 2016 20:30:37 +0300 Subject: Relax a bit gcc version check for advanced constexpr support. --- src/localconsts.h | 6 +++--- 1 file 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 -- cgit v1.2.3-70-g09d2