diff options
Diffstat (limited to 'cutl/details/boost/smart_ptr/detail/spinlock.hpp')
-rw-r--r-- | cutl/details/boost/smart_ptr/detail/spinlock.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cutl/details/boost/smart_ptr/detail/spinlock.hpp b/cutl/details/boost/smart_ptr/detail/spinlock.hpp index b943ac3..ffc70c5 100644 --- a/cutl/details/boost/smart_ptr/detail/spinlock.hpp +++ b/cutl/details/boost/smart_ptr/detail/spinlock.hpp @@ -31,7 +31,10 @@ #include <cutl/details/boost/config.hpp> #include <cutl/details/boost/smart_ptr/detail/sp_has_sync.hpp> -#if defined(__GNUC__) && defined( __arm__ ) && !defined( __thumb__ ) +#if defined( BOOST_SP_USE_PTHREADS ) +# include <cutl/details/boost/smart_ptr/detail/spinlock_pt.hpp> + +#elif defined(__GNUC__) && defined( __arm__ ) && !defined( __thumb__ ) # include <cutl/details/boost/smart_ptr/detail/spinlock_gcc_arm.hpp> #elif defined( BOOST_SP_HAS_SYNC ) |