summaryrefslogtreecommitdiff
path: root/libm/w_tgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/w_tgamma.c')
-rw-r--r--libm/w_tgamma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/w_tgamma.c b/libm/w_tgamma.c
index 0bacff16b..389e228ab 100644
--- a/libm/w_tgamma.c
+++ b/libm/w_tgamma.c
@@ -17,14 +17,14 @@
#include <math.h>
#include "math_private.h"
-#if __UCLIBC_HAS_FENV__
+#if defined(__UCLIBC_HAS_FENV__)
#include <errno.h>
#endif
double
tgamma(double x)
{
-#if __UCLIBC_HAS_FENV__
+#if defined(__UCLIBC_HAS_FENV__)
double y = __ieee754_tgamma(x);
if(__builtin_expect (!isfinite (y) || y == 0, 0)