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: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
793bb89c75
commit
ad05f33d67
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue