Martin Storsjö : include: Add a declaration of _InterlockedExchangeAdd64 for MSVC mode for aarch64.
Alexandre Julliard
julliard at winehq.org
Mon Apr 25 16:30:31 CDT 2022
Module: wine
Branch: master
Commit: 55177136cc189e71b50b67786309e86fcb533fb4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=55177136cc189e71b50b67786309e86fcb533fb4
Author: Martin Storsjö <martin at martin.st>
Date: Mon Apr 25 11:46:29 2022 +0300
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 at martin.st>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/winnt.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/winnt.h b/include/winnt.h
index 31c6b7d69e9..e853ddbc7ae 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -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);
More information about the wine-cvs
mailing list