There was an error while loading. Please reload this page.
1 parent fac91cb commit 78ec99dCopy full SHA for 78ec99d
1 file changed
include/boost/smart_ptr/detail/lightweight_mutex.hpp
@@ -23,17 +23,9 @@
23
//
24
// http://www.boost.org/doc/html/threads/concepts.html#threads.concepts.Mutex
25
26
-// It maps to a CRITICAL_SECTION on Windows or a pthread_mutex on POSIX.
+// It's obsoleted by std::mutex.
27
28
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
+#include <boost/smart_ptr/detail/lwm_std_mutex.hpp>
38
39
#endif // #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED
0 commit comments