diff --git a/include/boost/smart_ptr/detail/lightweight_mutex.hpp b/include/boost/smart_ptr/detail/lightweight_mutex.hpp index 7b098c4..c19338d 100644 --- a/include/boost/smart_ptr/detail/lightweight_mutex.hpp +++ b/include/boost/smart_ptr/detail/lightweight_mutex.hpp @@ -23,17 +23,9 @@ // // http://www.boost.org/doc/html/threads/concepts.html#threads.concepts.Mutex // -// It maps to a CRITICAL_SECTION on Windows or a pthread_mutex on POSIX. +// It's obsoleted by std::mutex. // -#include - -#if !defined(BOOST_NO_CXX11_HDR_MUTEX ) -# include -#elif defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# include -#else -# include -#endif +#include #endif // #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED