From 51e1a51b8aaa06132a2bcac8452f55bc36a8aa18 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 24 Oct 2025 21:22:24 +0300 Subject: [PATCH] Remove support for BOOST_AC_USE_SPINLOCK --- include/boost/smart_ptr/detail/atomic_count.hpp | 3 --- include/boost/smart_ptr/detail/deprecated_macros.hpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/boost/smart_ptr/detail/atomic_count.hpp b/include/boost/smart_ptr/detail/atomic_count.hpp index d4f8025..3bbb1f0 100644 --- a/include/boost/smart_ptr/detail/atomic_count.hpp +++ b/include/boost/smart_ptr/detail/atomic_count.hpp @@ -51,9 +51,6 @@ #elif defined( BOOST_AC_USE_STD_ATOMIC ) # include -#elif defined( BOOST_AC_USE_SPINLOCK ) -# include - #elif defined( BOOST_AC_USE_PTHREADS ) # include diff --git a/include/boost/smart_ptr/detail/deprecated_macros.hpp b/include/boost/smart_ptr/detail/deprecated_macros.hpp index 078d6df..7c2b544 100644 --- a/include/boost/smart_ptr/detail/deprecated_macros.hpp +++ b/include/boost/smart_ptr/detail/deprecated_macros.hpp @@ -27,7 +27,7 @@ BOOST_PRAGMA_MESSAGE("The macro BOOST_SP_USE_QUICK_ALLOCATOR has been deprecated #if defined(BOOST_AC_USE_SPINLOCK) -BOOST_PRAGMA_MESSAGE("The macro BOOST_AC_USE_SPINLOCK has been deprecated in 1.87 and support for it will be removed.") +BOOST_PRAGMA_MESSAGE("The macro BOOST_AC_USE_SPINLOCK has been deprecated in 1.87 and support for it was removed in 1.90.") #endif