summaryrefslogtreecommitdiff
path: root/libm/w_exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/w_exp.c')
-rw-r--r--libm/w_exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/w_exp.c b/libm/w_exp.c
index bc65c3930..643b79f8f 100644
--- a/libm/w_exp.c
+++ b/libm/w_exp.c
@@ -24,7 +24,7 @@
double
exp (double x)
{
-#if __UCLIBC_HAS_FENV__
+#if defined(__UCLIBC_HAS_FENV__)
double z = __ieee754_exp (x);
if (__builtin_expect (!isfinite (z) || z == 0, 0)
&& isfinite (x) && _LIB_VERSION != _IEEE_)