Skip to content

Commit 78ec99d

Browse files
committed
Remove support for BOOST_NO_CXX11_HDR_MUTEX
1 parent fac91cb commit 78ec99d

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

include/boost/smart_ptr/detail/lightweight_mutex.hpp

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,9 @@
2323
//
2424
// http://www.boost.org/doc/html/threads/concepts.html#threads.concepts.Mutex
2525
//
26-
// It maps to a CRITICAL_SECTION on Windows or a pthread_mutex on POSIX.
26+
// It's obsoleted by std::mutex.
2727
//
2828

29-
#include <boost/config.hpp>
30-
31-
#if !defined(BOOST_NO_CXX11_HDR_MUTEX )
32-
# include <boost/smart_ptr/detail/lwm_std_mutex.hpp>
33-
#elif defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
34-
# include <boost/smart_ptr/detail/lwm_win32_cs.hpp>
35-
#else
36-
# include <boost/smart_ptr/detail/lwm_pthreads.hpp>
37-
#endif
29+
#include <boost/smart_ptr/detail/lwm_std_mutex.hpp>
3830

3931
#endif // #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED

0 commit comments

Comments
 (0)