From c4784bf4c9af8ce9061b977c437cde458e4edcbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= Date: Wed, 24 Aug 2016 17:31:51 +0100 Subject: [PATCH] libstdcpp3: #define BOOST_AC_USE_STD_ATOMIC BOOST_SP_USE_STD_ATOMIC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If C++11 support, in particular the header is working, switch to using them (instead of shared_ptr's platform- specific implementations). See http://lists.boost.org/Archives/boost/2016/08/230630.php Signed-off-by: André Draszik --- include/boost/config/stdlib/libstdcpp3.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index a5efcb7..a200110 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -290,4 +290,12 @@ # define BOOST_NO_CXX11_HDR_MUTEX #endif +// +// use C++11 atomic ops +// +#if !defined(BOOST_NO_CXX11_HDR_ATOMIC) +# define BOOST_AC_USE_STD_ATOMIC +# define BOOST_SP_USE_STD_ATOMIC +#endif + // --- end --- -- 2.9.3