Fix mutex initialisation.
diff --git a/asio/include/asio/detail/win_static_mutex.hpp b/asio/include/asio/detail/win_static_mutex.hpp index 7ba8e93..564b159 100644 --- a/asio/include/asio/detail/win_static_mutex.hpp +++ b/asio/include/asio/detail/win_static_mutex.hpp
@@ -54,7 +54,11 @@ ::CRITICAL_SECTION crit_section_; }; -#define ASIO_WIN_STATIC_MUTEX_INIT { false, { 0, 0, 0, 0, 0, 0 } } +#if defined(UNDER_CE) +# define ASIO_WIN_STATIC_MUTEX_INIT { false, { 0, 0, 0, 0, 0 } } +#else // defined(UNDER_CE) +# define ASIO_WIN_STATIC_MUTEX_INIT { false, { 0, 0, 0, 0, 0, 0 } } +#endif // defined(UNDER_CE) } // namespace detail } // namespace asio