Remove BOOST_NO_CXX11_HDR_ATOMIC for Clang < 3.7

This restriction is either too pessimistic or completely wrong.

Closes #367
This commit is contained in:
Nikita Kniazev
2021-03-03 04:51:34 +03:00
committed by GitHub
parent b6b1791741
commit 18d34e3123

View File

@ -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 <atomic> throws up errors with clang:
# define BOOST_NO_CXX11_HDR_ATOMIC
#endif
//
// C++0x features in GCC 5.1 and later
//