summaryrefslogtreecommitdiff
path: root/libm/w_exp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/w_exp2.c')
-rw-r--r--libm/w_exp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/w_exp2.c b/libm/w_exp2.c
index 1215c2e92..a81eef4ba 100644
--- a/libm/w_exp2.c
+++ b/libm/w_exp2.c
@@ -23,7 +23,7 @@
double
exp2 (double x)
{
-#if __UCLIBC_HAS_FENV__
+#if defined(__UCLIBC_HAS_FENV__)
double z = pow(2.0, x);
if (__builtin_expect (!isfinite (z) || z == 0, 0)
&& isfinite (x) && _LIB_VERSION != _IEEE_)