Ticket #8593: lockfree_atomic_libcpp.patch
File lockfree_atomic_libcpp.patch, 616 bytes (added by , 9 years ago) |
---|
-
boost/lockfree/detail/atomic.hpp
17 17 #undef BOOST_LOCKFREE_NO_HDR_ATOMIC 18 18 #endif 19 19 20 // Clang / libc++ supports atomic<> 3.1 onwards, but check for <atomic> to make sure 21 #if defined(BOOST_CLANG) 22 #if defined(_LIBCPP_VERSION) && __has_include( <atomic> ) 23 #undef BOOST_LOCKFREE_NO_HDR_ATOMIC 24 #endif 25 #endif 26 20 27 // GCC supports atomic<> from version 4.8 onwards. 21 28 #if defined(__GNUC__) 22 29 # if defined(__GNUC_PATCHLEVEL__)