From af5351f42beed4dcadf43bd8a03d912836aa9f7b Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 1 Jan 2016 13:35:12 +0000 Subject: [PATCH] works in later libc++ releases. See also https://github.com/boostorg/config/pull/85/files --- include/boost/config/stdlib/libcpp.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/config/stdlib/libcpp.hpp b/include/boost/config/stdlib/libcpp.hpp index ab5d1235..66642e72 100644 --- a/include/boost/config/stdlib/libcpp.hpp +++ b/include/boost/config/stdlib/libcpp.hpp @@ -53,6 +53,9 @@ # define BOOST_NO_CXX11_HDR_FUNCTIONAL # define BOOST_NO_CXX11_STD_ALIGN # define BOOST_NO_CXX11_ADDRESSOF +# if _LIBCPP_VERSION < 3700 +# define BOOST_NO_CXX11_HDR_ATOMIC +# endif #endif // @@ -62,7 +65,6 @@ # define BOOST_NO_CXX11_HDR_FUTURE # define BOOST_NO_CXX11_HDR_TYPE_TRAITS # define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_HDR_ATOMIC // libc++ uses a non-standard messages_base #define BOOST_NO_STD_MESSAGES