在 2018/5/23 18:40, Martin Storsjö 写道:
Below this elif, there's an else clause, currently used for i386,
which contains 64 bit compatibility wrappers for functions, based
on InterlockedCompareExchange64.

This makes the 64 bit frontend functions work just like they do
on i386.

Signed-off-by: Martin Storsjö <[email protected]>
---
  mingw-w64-headers/include/winbase.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/winbase.h 
b/mingw-w64-headers/include/winbase.h
index 77da6a3..c865a88 100644
--- a/mingw-w64-headers/include/winbase.h
+++ b/mingw-w64-headers/include/winbase.h
@@ -932,7 +932,7 @@ extern "C" {
    SHORT __cdecl InterlockedOr16(SHORT volatile *Destination, SHORT Value);
    SHORT __cdecl InterlockedXor16(SHORT volatile *Destination, SHORT Value);
-#elif (defined (__arm__) || defined (__aarch64__)) && !defined (RC_INVOKED)
+#elif defined (__aarch64__) && !defined (RC_INVOKED)
  #define InterlockedAnd _InterlockedAnd
  #define InterlockedOr _InterlockedOr
  #define InterlockedXor _InterlockedXor


This patch looks good to me.

--
Best regards,
LH_Mouse


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to