+#if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__)) && !defined(BOOST_LWM_USE_CRITICAL_SECTION) && !defined(BOOST_LWM_USE_PTHREADS)
+# define BOOST_LWM_WIN32
+#endif
+
+#if !defined(BOOST_HAS_THREADS)
+# if defined(BOOST_LWM_WIN32)
+# include <boost/detail/lwm_win32_nt.hpp>
+# else
+# include <boost/detail/lwm_nop.hpp>
+# endif