mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 23:44:47 +00:00
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
|
@ -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…
Reference in a new issue