include: Add a declaration of _InterlockedExchangeAdd64 for MSVC mode for aarch64.
This matches the corresponding declaration for x86_64. Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d0833a0edf
commit
55177136cc
|
@ -6371,6 +6371,10 @@ static FORCEINLINE void MemoryBarrier(void)
|
||||||
|
|
||||||
#elif defined(__aarch64__)
|
#elif defined(__aarch64__)
|
||||||
|
|
||||||
|
#pragma intrinsic(_InterlockedExchangeAdd64)
|
||||||
|
|
||||||
|
long long _InterlockedExchangeAdd64(long long volatile *, long long);
|
||||||
|
|
||||||
static FORCEINLINE void MemoryBarrier(void)
|
static FORCEINLINE void MemoryBarrier(void)
|
||||||
{
|
{
|
||||||
__dmb(_ARM64_BARRIER_SY);
|
__dmb(_ARM64_BARRIER_SY);
|
||||||
|
|
Loading…
Reference in New Issue