summaryrefslogtreecommitdiff
path: root/test/math/libm-test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'test/math/libm-test.inc')
-rw-r--r--test/math/libm-test.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/math/libm-test.inc b/test/math/libm-test.inc
index 2fc97ee..ee86c8c 100644
--- a/test/math/libm-test.inc
+++ b/test/math/libm-test.inc
@@ -118,7 +118,7 @@
#include <complex.h>
#include <math.h>
#include <float.h>
-#if defined(__GLIBC__) || defined(__UCLIBC__) && defined(__UCLIBC_HAS_FENV__)
+#if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__UCLIBC_HAS_FENV__)
#include <fenv.h>
#else
#include "fenv.h"