summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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