From dc382b5a91dec9f29e51b0bf10f4c4df2a276b9b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 2 Jan 2018 17:50:31 +0100 Subject: quieten compiler warnings when __UCLIBC_HAS_FENV__ isn't defined --- libm/w_sqrtl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libm/w_sqrtl.c') diff --git a/libm/w_sqrtl.c b/libm/w_sqrtl.c index 525ac8f3c..4b37b9581 100644 --- a/libm/w_sqrtl.c +++ b/libm/w_sqrtl.c @@ -24,7 +24,7 @@ long double sqrtl (long double x) { -# if __UCLIBC_HAS_FENV__ +# if defined(__UCLIBC_HAS_FENV__) if (__builtin_expect (isless (x, 0.0L), 0) && _LIB_VERSION != _IEEE_) return __kernel_standard_l (x, x, 226); /* sqrt(negative) */ # endif /* __UCLIBC_HAS_FENV__ */ -- cgit v1.2.3