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:
Martin Storsjö 2022-04-25 11:46:29 +03:00 committed by Alexandre Julliard
parent d0833a0edf
commit 55177136cc
1 changed files with 4 additions and 0 deletions

View File

@ -6371,6 +6371,10 @@ static FORCEINLINE void MemoryBarrier(void)
#elif defined(__aarch64__)
#pragma intrinsic(_InterlockedExchangeAdd64)
long long _InterlockedExchangeAdd64(long long volatile *, long long);
static FORCEINLINE void MemoryBarrier(void)
{
__dmb(_ARM64_BARRIER_SY);