summaryrefslogtreecommitdiff
path: root/test/math
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-03 20:19:02 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-03 20:19:02 +0100
commit24b4b8b66366176b40525baa1b2f056e8a68d0ce (patch)
treec705733ff04ff1d089eff6494622668632565a62 /test/math
parent3384c45e66ddf18f235654b67ae34ac7dcb07534 (diff)
argp: be sure uClibc-ng feature is available
Diffstat (limited to 'test/math')
-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"