https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d0b46c6c43b5c4a919575…
commit d0b46c6c43b5c4a919575b1f5ca293e93187e68b
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue Dec 29 18:22:06 2020 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Tue Jan 5 14:19:45 2021 +0100
[INCLUDE/WINE] Always define interlocked_* aliases
This was already true for MSVC and GCC x86, make it true for GCC x64.
---
sdk/include/reactos/wine/port.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sdk/include/reactos/wine/port.h b/sdk/include/reactos/wine/port.h
index 26acee00d69..e7ce4ed2555 100644
--- a/sdk/include/reactos/wine/port.h
+++ b/sdk/include/reactos/wine/port.h
@@ -340,17 +340,12 @@ extern int spawnvp(int mode, const char *cmdname, const char * const
argv[]);
/* Interlocked functions */
-#if defined(_MSC_VER) || (defined(__i386__) && defined(__GNUC__) &&
!defined(WINE_PORT_NO_INTERLOCKED))
-
#define interlocked_cmpxchg InterlockedCompareExchange
#define interlocked_cmpxchg_ptr InterlockedCompareExchangePointer
#define interlocked_xchg InterlockedExchange
#define interlocked_xchg_ptr InterlockedExchangePointer
#define interlocked_xchg_add InterlockedExchangeAdd
-
-#endif /* __i386___ && __GNUC__ */
-
#if defined(_MSC_VER) && !defined(__clang__)
__forceinline
int