diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec index 6c2da4c5b8a..41cb8f6db3d 100644 --- a/dlls/msvcr110/msvcr110.spec +++ b/dlls/msvcr110/msvcr110.spec @@ -2011,7 +2011,7 @@ @ cdecl exp(double) msvcrt.exp @ cdecl -arch=arm,x86_64 expf(float) msvcrt.expf @ cdecl fabs(double) msvcrt.fabs -@ stub -arch=arm fabsf +@ cdecl -arch=arm,x86_64 fabsf(float) msvcrt.fabsf @ cdecl fclose(ptr) msvcrt.fclose @ cdecl feof(ptr) msvcrt.feof @ cdecl ferror(ptr) msvcrt.ferror diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index a55ecb6508a..68b0dfe7a38 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -288,6 +288,14 @@ float CDECL MSVCRT_ceilf( float x ) return ceilf(x); } +/********************************************************************* + * fabsf (MSVCRT.@) + */ +float CDECL MSVCRT_fabsf( float x ) +{ + return fabsf(x); +} + /********************************************************************* * floorf (MSVCRT.@) */ diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index 751112975a0..d0d76790e7e 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -1276,6 +1276,7 @@ @ cdecl exp(double) MSVCRT_exp @ cdecl -arch=arm,x86_64 expf(float) MSVCRT_expf @ cdecl fabs(double) MSVCRT_fabs +@ cdecl -arch=arm,x86_64 fabsf(float) MSVCRT_fabsf @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror