1
0
mirror of https://git.code.sf.net/p/mingw-w64/mingw-w64 synced 2025-04-18 17:44:18 +03:00

crt: Fix condition for fabsf in api-ms-win-crt-math

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ö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2025-04-07 16:13:11 +03:00
parent a421d2c0c6
commit 1e8b1ccdd4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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