[PATCH 3/9] msvcr120: Remove precompiler check for asinh.
Alex Henrie
alexhenrie24 at gmail.com
Sun Jul 9 23:55:04 CDT 2017
asinh is part of C89, so it is guaranteed to be present.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
configure.ac | 1 -
dlls/msvcrt/math.c | 10 ++--------
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index d8309ea1d6..2186ee1b6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2593,7 +2593,6 @@ then
fi
AC_CHECK_FUNCS(\
- asinh \
asinhf \
cbrt \
cbrtf \
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index ffb83a6b62..f9d1d3ecde 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -2864,12 +2864,7 @@ double CDECL MSVCR120_fmin(double x, double y)
*/
double CDECL MSVCR120_asinh(double x)
{
-#ifdef HAVE_ASINH
return asinh(x);
-#else
- FIXME( "not implemented\n" );
- return 0.0;
-#endif
}
/*********************************************************************
@@ -2880,8 +2875,7 @@ float CDECL MSVCR120_asinhf(float x)
#ifdef HAVE_ASINHF
return asinhf(x);
#else
- FIXME( "not implemented\n" );
- return 0.0f;
+ return asinh(x);
#endif
}
@@ -2890,7 +2884,7 @@ float CDECL MSVCR120_asinhf(float x)
*/
LDOUBLE CDECL MSVCR120_asinhl(LDOUBLE x)
{
- return MSVCR120_asinh(x);
+ return asinh(x);
}
/*********************************************************************
--
2.13.2
More information about the wine-patches
mailing list