Index: boost/detail/interlocked.hpp =================================================================== --- boost/detail/interlocked.hpp (revision 138) +++ boost/detail/interlocked.hpp (working copy) @@ -52,8 +52,8 @@ 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); +extern "C" long __cdecl _InterlockedExchange( long * volatile, long); +extern "C" long __cdecl _InterlockedExchangeAdd( long * volatile, long); # pragma intrinsic( _InterlockedIncrement ) # pragma intrinsic( _InterlockedDecrement )