summaryrefslogtreecommitdiff
path: root/boost/config/compiler/xlcpp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/config/compiler/xlcpp.hpp')
-rw-r--r--boost/config/compiler/xlcpp.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/config/compiler/xlcpp.hpp b/boost/config/compiler/xlcpp.hpp
index a4c66e402c..ee7aa1253a 100644
--- a/boost/config/compiler/xlcpp.hpp
+++ b/boost/config/compiler/xlcpp.hpp
@@ -246,6 +246,10 @@
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
#endif
+#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
+# define BOOST_NO_CXX17_IF_CONSTEXPR
+#endif
+
// Clang 3.9+ in c++1z
#if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L
# define BOOST_NO_CXX17_INLINE_VARIABLES