From 18d34e312351b0812808f73bea9dfe98c1058930 Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Wed, 3 Mar 2021 04:51:34 +0300 Subject: [PATCH] Remove BOOST_NO_CXX11_HDR_ATOMIC for Clang < 3.7 This restriction is either too pessimistic or completely wrong. Closes #367 --- include/boost/config/stdlib/libstdcpp3.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index da384d23..dcdca2d0 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -303,10 +303,6 @@ extern "C" char *gets (char *__s); # define BOOST_NO_CXX14_STD_EXCHANGE #endif -#if defined(__clang_major__) && ((__clang_major__ < 3) || ((__clang_major__ == 3) && (__clang_minor__ < 7))) -// As of clang-3.6, libstdc++ header throws up errors with clang: -# define BOOST_NO_CXX11_HDR_ATOMIC -#endif // // C++0x features in GCC 5.1 and later //