[PATCH] ucrtbase: Expose the fabsf function on arm

Martin Storsjo martin at martin.st
Tue Jul 26 05:19:00 CDT 2016


It isn't available in the x86 or x64 versions of ucrtbase.dll
or api-ms-win-crt-math-l1-1-0.dll, but exists (and gets used by
MSVC 2015) on arm.
---
 dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec | 1 +
 dlls/ucrtbase/ucrtbase.spec                                     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec b/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec
index f752c83..05a0ac0 100644
--- a/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec
+++ b/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec
@@ -235,6 +235,7 @@
 @ stub expm1f
 @ stub expm1l
 @ cdecl fabs(double) ucrtbase.fabs
+@ cdecl -arch=arm fabsf(float) ucrtbase.fabsf
 @ stub fdim
 @ stub fdimf
 @ stub fdiml
diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index 7058990..90639a2 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -2281,6 +2281,7 @@
 @ stub expm1f
 @ stub expm1l
 @ cdecl fabs(double) MSVCRT_fabs
+@ cdecl -arch=arm fabsf(float) MSVCRT_fabsf
 @ cdecl fclose(ptr) MSVCRT_fclose
 @ stub fdim
 @ stub fdimf
-- 
2.7.4




More information about the wine-patches mailing list