|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80042 - trunk/boost/detail
From: vicente.botet_at_[hidden]
Date: 2012-08-15 06:02:10
Author: viboes
Date: 2012-08-15 06:02:09 EDT (Wed, 15 Aug 2012)
New Revision: 80042
URL: http://svn.boost.org/trac/boost/changeset/80042
Log:
Thread: Try to fix 5431
Text files modified:
trunk/boost/detail/interlocked.hpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Modified: trunk/boost/detail/interlocked.hpp
==============================================================================
--- trunk/boost/detail/interlocked.hpp (original)
+++ trunk/boost/detail/interlocked.hpp 2012-08-15 06:02:09 EDT (Wed, 15 Aug 2012)
@@ -35,11 +35,11 @@
// under Windows CE we still have old-style Interlocked* functions
-extern "C" long __cdecl InterlockedIncrement( long* );
-extern "C" long __cdecl InterlockedDecrement( long* );
-extern "C" long __cdecl InterlockedCompareExchange( long*, long, long );
-extern "C" long __cdecl InterlockedExchange( long*, long );
-extern "C" long __cdecl InterlockedExchangeAdd( long*, long );
+extern "C" long __cdecl InterlockedIncrement( long volatile * );
+extern "C" long __cdecl InterlockedDecrement( long volatile * );
+extern "C" long __cdecl InterlockedCompareExchange( long volatile *, long, long );
+extern "C" long __cdecl InterlockedExchange( long volatile *, long );
+extern "C" long __cdecl InterlockedExchangeAdd( long volatile *, long );
# define BOOST_INTERLOCKED_INCREMENT InterlockedIncrement
# define BOOST_INTERLOCKED_DECREMENT InterlockedDecrement
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