Ticket #1069: interlocked.patch

File interlocked.patch, 819 bytes (added by Braden McDaniel <braden@…>, 15 years ago)

Patch

  • boost/detail/interlocked.hpp

     
    5252extern "C" long __cdecl _InterlockedIncrement( long volatile * );
    5353extern "C" long __cdecl _InterlockedDecrement( long volatile * );
    5454extern "C" long __cdecl _InterlockedCompareExchange( long volatile *, long, long );
    55 extern "C" long __cdecl _InterlockedExchange( long volatile *, long);
    56 extern "C" long __cdecl _InterlockedExchangeAdd( long volatile *, long);
     55extern "C" long __cdecl _InterlockedExchange( long * volatile, long);
     56extern "C" long __cdecl _InterlockedExchangeAdd( long * volatile, long);
    5757
    5858# pragma intrinsic( _InterlockedIncrement )
    5959# pragma intrinsic( _InterlockedDecrement )