--
Best regards,
LIU Hao
From 079a3d72fc121c5b4507daff24c48947825ea9ea Mon Sep 17 00:00:00 2001
From: LIU Hao <[email protected]>
Date: Mon, 31 Jul 2023 22:46:46 +0800
Subject: [PATCH 2/2] headers/intrin: Redefine `__MACHINEX86X_NOIA64` as its
 name suggests

The old condition is strictly equivalent to `__MACHINEX86X_NOWIN64` so I
believe it was a typo. As its name suggests, it should denote x86 or x86_64,
and not Itanium i.e. it should be empty when neither x86 nor x86_64, or on
Itanium.

Signed-off-by: LIU Hao <[email protected]>
---
 mingw-w64-headers/crt/intrin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/crt/intrin.h b/mingw-w64-headers/crt/intrin.h
index 4f0813c20..2a6799036 100644
--- a/mingw-w64-headers/crt/intrin.h
+++ b/mingw-w64-headers/crt/intrin.h
@@ -222,7 +222,7 @@ extern "C" {
 #define __MACHINEX86X_NOX64 __MACHINEZ
 #endif
 
-#if !(defined(_X86_) && !defined(__x86_64)) || __ia64__
+#if !(defined(_X86_) || defined(__x86_64)) || defined(__ia64__)
 #undef __MACHINEX86X_NOIA64
 #define __MACHINEX86X_NOIA64 __MACHINEZ
 #endif
-- 
2.41.0

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to