diff options
Diffstat (limited to 'boost/asio/detail/thread.hpp')
-rw-r--r-- | boost/asio/detail/thread.hpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/boost/asio/detail/thread.hpp b/boost/asio/detail/thread.hpp index f385fc85a1..e10040e972 100644 --- a/boost/asio/detail/thread.hpp +++ b/boost/asio/detail/thread.hpp @@ -20,8 +20,10 @@ #if !defined(BOOST_ASIO_HAS_THREADS) # include <boost/asio/detail/null_thread.hpp> #elif defined(BOOST_ASIO_WINDOWS) -# if defined(BOOST_ASIO_WINDOWS_APP) || defined(UNDER_CE) -# include <boost/asio/detail/winapi_thread.hpp> +# if defined(UNDER_CE) +# include <boost/asio/detail/wince_thread.hpp> +# elif defined(BOOST_ASIO_WINDOWS_APP) +# include <boost/asio/detail/winapp_thread.hpp> # else # include <boost/asio/detail/win_thread.hpp> # endif @@ -40,8 +42,10 @@ namespace detail { #if !defined(BOOST_ASIO_HAS_THREADS) typedef null_thread thread; #elif defined(BOOST_ASIO_WINDOWS) -# if defined(BOOST_ASIO_WINDOWS_APP) || defined(UNDER_CE) -typedef winapi_thread thread; +# if defined(UNDER_CE) +typedef wince_thread thread; +# elif defined(BOOST_ASIO_WINDOWS_APP) +typedef winapp_thread thread; # else typedef win_thread thread; # endif |