diff --git a/src/win32/thread.cpp b/src/win32/thread.cpp index 72bf4190..b9434621 100644 --- a/src/win32/thread.cpp +++ b/src/win32/thread.cpp @@ -9,7 +9,6 @@ #include #include -#include #ifndef UNDER_CE #include #endif @@ -20,6 +19,7 @@ #include #include #include +#include namespace boost { @@ -67,7 +67,7 @@ namespace boost boost::throw_exception(thread_resource_error()); } -#ifdef BOOST_NO_THREADEX +#ifndef BOOST_HAS_THREADEX // Windows CE doesn't define _beginthreadex struct ThreadProxyData