mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-02 06:04:27 +02:00
@@ -90,23 +90,18 @@ typedef long atomic_count;
|
|||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(BOOST_AC_USE_PTHREADS)
|
#elif defined(BOOST_AC_USE_PTHREADS)
|
||||||
|
|
||||||
# include <boost/detail/atomic_count_pthreads.hpp>
|
# include <boost/detail/atomic_count_pthreads.hpp>
|
||||||
|
|
||||||
#elif defined( __GNUC__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) )
|
#elif defined( __GNUC__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) )
|
||||||
|
|
||||||
# include <boost/detail/atomic_count_gcc_x86.hpp>
|
# include <boost/detail/atomic_count_gcc_x86.hpp>
|
||||||
|
|
||||||
#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
|
#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
|
||||||
|
|
||||||
# include <boost/detail/atomic_count_win32.hpp>
|
# include <boost/detail/atomic_count_win32.hpp>
|
||||||
|
|
||||||
#elif defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
|
#elif defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __hppa )
|
||||||
|
|
||||||
# include <boost/detail/atomic_count_sync.hpp>
|
# include <boost/detail/atomic_count_sync.hpp>
|
||||||
|
|
||||||
#elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
#elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
||||||
|
|
||||||
# include <boost/detail/atomic_count_gcc.hpp>
|
# include <boost/detail/atomic_count_gcc.hpp>
|
||||||
|
|
||||||
#elif defined(BOOST_HAS_PTHREADS)
|
#elif defined(BOOST_HAS_PTHREADS)
|
||||||
|
Reference in New Issue
Block a user