X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Fconfig%2Fcompiler%2Fxlcpp.hpp;h=ee7aa1253ada495b055bca3ed3dbc5c01b90230e;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=a4c66e402cd7fb8477e5ae4fc81549ff4805ad7c;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/boost/config/compiler/xlcpp.hpp b/ceph/src/boost/boost/config/compiler/xlcpp.hpp index a4c66e402..ee7aa1253 100644 --- a/ceph/src/boost/boost/config/compiler/xlcpp.hpp +++ b/ceph/src/boost/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