summaryrefslogtreecommitdiff
path: root/boost/config/compiler/gcc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/config/compiler/gcc.hpp')
-rw-r--r--boost/config/compiler/gcc.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/boost/config/compiler/gcc.hpp b/boost/config/compiler/gcc.hpp
index 4fe968a03c..19ccc592fd 100644
--- a/boost/config/compiler/gcc.hpp
+++ b/boost/config/compiler/gcc.hpp
@@ -299,6 +299,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
+#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
+# define BOOST_NO_CXX17_IF_CONSTEXPR
+#endif
#if __GNUC__ >= 7
# define BOOST_FALLTHROUGH __attribute__((fallthrough))