Signed-off-by: Stefan Dösinger <stefan(a)codeweavers.com> --- A few lines earlier we #define InterlockedCompareExchange128 to _InterlockedCompareExchange128, so this inline implementation is just going to cause compile errors. --- include/winnt.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/winnt.h b/include/winnt.h index 66a591ddaf2..d38336be23b 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -6500,10 +6500,6 @@ static FORCEINLINE void MemoryBarrier(void) #pragma intrinsic(_InterlockedCompareExchange128) unsigned char _InterlockedCompareExchange128(volatile __int64 *, __int64, __int64, __int64 *); -static FORCEINLINE unsigned char WINAPI InterlockedCompareExchange128( volatile __int64 *dest, __int64 xchg_high, __int64 xchg_low, __int64 *compare ) -{ - return _InterlockedCompareExchange128( dest, xchg_high, xchg_low, compare ); -} #else -- 2.34.1