Microsoft defines this to the same value on x64, ARM, and ARM64, so do
the same.

This constant is used by Cairo.  See
https://github.com/msys2/MINGW-packages/issues/11053

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

diff --git a/mingw-w64-headers/crt/float.h b/mingw-w64-headers/crt/float.h
index ac534a49a..da8717b83 100644
--- a/mingw-w64-headers/crt/float.h
+++ b/mingw-w64-headers/crt/float.h
@@ -245,7 +245,7 @@
 #define _CW_DEFAULT 
(_RC_NEAR+_PC_53+_EM_INVALID+_EM_ZERODIVIDE+_EM_OVERFLOW+_EM_UNDERFLOW+_EM_INEXACT+_EM_DENORMAL)
 #elif defined(__ia64__)
 #define _CW_DEFAULT 
(_RC_NEAR+_PC_64+_EM_INVALID+_EM_ZERODIVIDE+_EM_OVERFLOW+_EM_UNDERFLOW+_EM_INEXACT+_EM_DENORMAL)
-#elif defined(__x86_64__)
+#elif defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)
 #define _CW_DEFAULT 
(_RC_NEAR+_EM_INVALID+_EM_ZERODIVIDE+_EM_OVERFLOW+_EM_UNDERFLOW+_EM_INEXACT+_EM_DENORMAL)
 #endif

-- 
2.35.1.windows.2



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

Reply via email to