aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/complex/csinhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/complex/csinhl.c')
-rw-r--r--newlib/libm/complex/csinhl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libm/complex/csinhl.c b/newlib/libm/complex/csinhl.c
index 44ed050..3187739 100644
--- a/newlib/libm/complex/csinhl.c
+++ b/newlib/libm/complex/csinhl.c
@@ -32,6 +32,8 @@
#include <complex.h>
#include <math.h>
+/* On platforms where long double is as wide as double. */
+#ifdef _LDBL_EQ_DBL
long double complex
csinhl(long double complex z)
{
@@ -43,3 +45,4 @@ csinhl(long double complex z)
w = sinhl(x) * cosl(y) + (coshl(x) * sinl(y)) * I;
return w;
}
+#endif