Use <atomic> by default when BOOST_NO_CXX11_HDR_ATOMIC is not defined

This commit is contained in:
Peter Dimov committed 2016-08-28 21:28:21 +03:00
1 parent c87b6e8af8
commit 20fedcff2c
3 files changed
+9

No files matched your search

@@ -43,6 +43,9 @@
#elif defined( BOOST_SP_USE_PTHREADS )
# include <boost/smart_ptr/detail/spinlock_pt.hpp>
#elif !defined( BOOST_NO_CXX11_HDR_ATOMIC )
# include <boost/smart_ptr/detail/spinlock_std_atomic.hpp>
#elif defined(__GNUC__) && defined( __arm__ ) && !defined( __thumb__ )
# include <boost/smart_ptr/detail/spinlock_gcc_arm.hpp>