Commit ad05f33d authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

include: _InterlockedExchangePointer is an intrinsic on x86 in newer MSVC versions.

msvc 2019 complains that _InterlockedCompareExchangePointer and _InterlockedExchangePointer are intrinsics and cannot be defined even when building for x86. If I read Microsoft's header right that started with msvc 2016. Signed-off-by: 's avatarStefan Dösinger <stefan@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 793bb89c
......@@ -6345,7 +6345,7 @@ long _InterlockedIncrement(long volatile*);
short _InterlockedIncrement16(short volatile*);
long _InterlockedOr(long volatile *,long);
#ifndef __i386__
#if !defined(__i386__) || _MSC_VER >= 1600
#pragma intrinsic(_InterlockedCompareExchangePointer)
#pragma intrinsic(_InterlockedExchangePointer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment