This was changed erroneously in
95ad23696f57b0f966525b574096bd53d48c773a; fabsf is only available
on arm/aarch64 - it doesn't have anything to do with whether
we are compatible with UCRT regarding long doubles.

Also fix _o_fabsf in ucrtbase-common.def.in which also was changed
erroneously in the same way.

Signed-off-by: Martin Storsjö <mar...@martin.st>
---
 mingw-w64-crt/lib-common/api-ms-win-crt-math-l1-1-0.def.in | 2 +-
 mingw-w64-crt/lib-common/ucrtbase-common.def.in            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-crt/lib-common/api-ms-win-crt-math-l1-1-0.def.in 
b/mingw-w64-crt/lib-common/api-ms-win-crt-math-l1-1-0.def.in
index 163339874..33b4f37cc 100644
--- a/mingw-w64-crt/lib-common/api-ms-win-crt-math-l1-1-0.def.in
+++ b/mingw-w64-crt/lib-common/api-ms-win-crt-math-l1-1-0.def.in
@@ -266,7 +266,7 @@ expm1
 expm1f
 F_LD64(expm1l) ; Can't use long double functions from the CRT on x86
 fabs
-F_LD64(fabsf)
+F_ARM_ANY(fabsf)
 fdim
 fdimf
 F_LD64(fdiml) ; Can't use long double functions from the CRT on x86
diff --git a/mingw-w64-crt/lib-common/ucrtbase-common.def.in 
b/mingw-w64-crt/lib-common/ucrtbase-common.def.in
index 02e698d96..24f47bcbc 100644
--- a/mingw-w64-crt/lib-common/ucrtbase-common.def.in
+++ b/mingw-w64-crt/lib-common/ucrtbase-common.def.in
@@ -1656,7 +1656,7 @@ _o_exp2f
 F_LD64(_o_exp2l) ; Can't use long double functions from the CRT on x86
 F_NON_I386(_o_expf)
 _o_fabs
-F_LD64(_o_fabsf)
+F_ARM_ANY(_o_fabsf)
 _o_fclose
 _o_feof
 _o_ferror
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to