Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72818 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2011-06-30 09:38:31


Author: chris_kohlhoff
Date: 2011-06-30 09:38:30 EDT (Thu, 30 Jun 2011)
New Revision: 72818
URL: http://svn.boost.org/trac/boost/changeset/72818

Log:
Fix for static mutex initialisation.
Text files modified:
   trunk/boost/asio/detail/win_static_mutex.hpp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/boost/asio/detail/win_static_mutex.hpp
==============================================================================
--- trunk/boost/asio/detail/win_static_mutex.hpp (original)
+++ trunk/boost/asio/detail/win_static_mutex.hpp 2011-06-30 09:38:30 EDT (Thu, 30 Jun 2011)
@@ -55,7 +55,11 @@
   ::CRITICAL_SECTION crit_section_;
 };
 
-#define BOOST_ASIO_WIN_STATIC_MUTEX_INIT { false, { 0, 0, 0, 0, 0, 0 } }
+#if defined(UNDER_CE)
+# define BOOST_ASIO_WIN_STATIC_MUTEX_INIT { false, { 0, 0, 0, 0, 0 } }
+#else // defined(UNDER_CE)
+# define BOOST_ASIO_WIN_STATIC_MUTEX_INIT { false, { 0, 0, 0, 0, 0, 0 } }
+#endif // defined(UNDER_CE)
 
 } // namespace detail
 } // namespace asio


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk