summaryrefslogtreecommitdiff
path: root/libm/w_cosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/w_cosh.c')
-rw-r--r--libm/w_cosh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/w_cosh.c b/libm/w_cosh.c
index d9a6da3df..06a9fff95 100644
--- a/libm/w_cosh.c
+++ b/libm/w_cosh.c
@@ -20,7 +20,7 @@
double
cosh (double x)
{
-#if __UCLIBC_HAS_FENV__
+#if defined(__UCLIBC_HAS_FENV__)
double z = __ieee754_cosh (x);
if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
&& _LIB_VERSION != _IEEE_)