mirror of
https://github.com/boostorg/thread.git
synced 2026-01-26 19:12:11 +00:00
The previous mingw32 fix unfortunately broke mingw-w64, so that is now fixed too.
This commit is contained in:
@@ -179,6 +179,8 @@ namespace boost
|
||||
#ifdef _MSC_VER
|
||||
long _InterlockedCompareExchange(long volatile *, long, long);
|
||||
#pragma intrinsic(_InterlockedCompareExchange)
|
||||
#elif defined(__MINGW64_VERSION_MAJOR)
|
||||
long _InterlockedCompareExchange(long volatile *, long, long);
|
||||
#else
|
||||
// Mingw doesn't provide intrinsics
|
||||
#define _InterlockedCompareExchange InterlockedCompareExchange
|
||||
|
||||
Reference in New Issue
Block a user