---
 mingw-w64-crt/def-include/func.def.in  | 7 +++++++
 mingw-w64-crt/lib-common/msvcrt.def.in | 3 +--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-crt/def-include/func.def.in 
b/mingw-w64-crt/def-include/func.def.in
index aae896bdb953..0b45da35ac1f 100644
--- a/mingw-w64-crt/def-include/func.def.in
+++ b/mingw-w64-crt/def-include/func.def.in
@@ -10,6 +10,7 @@
 // F_ARM64     - function available only on arm64
 // F_ARM_ANY   - function available on 32 and 64 bit arm
 // F_NON_I386  - function available on everything but i386
+// F_NON_X64   - function available on everything but x86_64
 // F_NON_ARM64 - function available on everything but arm64
 #if defined(DEF_X64)
 #define F64(x) x
@@ -21,18 +22,21 @@
 #define F32(x) x
 #define F_I386(x) x
 #define F_X86_ANY(x) x
+#define F_NON_X64(x) x
 #define F_NON_ARM64(x) x
 #elif defined(DEF_ARM32)
 #define F32(x) x
 #define F_ARM32(x) x
 #define F_ARM_ANY(x) x
 #define F_NON_I386(x) x
+#define F_NON_X64(x) x
 #define F_NON_ARM64(x) x
 #elif defined(DEF_ARM64)
 #define F64(x) x
 #define F_ARM64(x) x
 #define F_ARM_ANY(x) x
 #define F_NON_I386(x) x
+#define F_NON_X64(x) x
 #else
 #error No DEF_<ARCH> is defined
 #endif
@@ -64,6 +68,9 @@
 #ifndef F_NON_I386
 #define F_NON_I386(x)
 #endif
+#ifndef F_NON_X64
+#define F_NON_X64(x)
+#endif
 #ifndef F_NON_ARM64
 #define F_NON_ARM64(x)
 #endif
diff --git a/mingw-w64-crt/lib-common/msvcrt.def.in 
b/mingw-w64-crt/lib-common/msvcrt.def.in
index 59515cc3f16e..a58c76c306d4 100644
--- a/mingw-w64-crt/lib-common/msvcrt.def.in
+++ b/mingw-w64-crt/lib-common/msvcrt.def.in
@@ -600,8 +600,7 @@ _flsbuf
 _flushall
 _fmode DATA
 _fpclass
-F_I386(_fpieee_flt)
-F_ARM_ANY(_fpieee_flt)
+F_NON_X64(_fpieee_flt)
 _fpreset DATA
 _fputchar
 _fputwchar
-- 
2.20.1



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

Reply via email to