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_jn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libm/w_jn.c') diff --git a/libm/w_jn.c b/libm/w_jn.c index 404a76afd..1d2f7dd19 100644 --- a/libm/w_jn.c +++ b/libm/w_jn.c @@ -18,14 +18,14 @@ #include #include "math_private.h" -#if __UCLIBC_HAS_FENV__ +#if defined(__UCLIBC_HAS_FENV__) #include #endif /* wrapper jn */ double jn (int n, double x) { -#if __UCLIBC_HAS_FENV__ +#if defined(__UCLIBC_HAS_FENV__) if (__builtin_expect (isgreater (fabs (x), X_TLOSS), 0) && _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_) /* jn(n,|x|>X_TLOSS) */ @@ -38,7 +38,7 @@ jn (int n, double x) double yn (int n, double x) { -#if __UCLIBC_HAS_FENV__ +#if defined(__UCLIBC_HAS_FENV__) if (__builtin_expect (islessequal (x, 0.0) || isgreater (x, X_TLOSS), 0) && _LIB_VERSION != _IEEE_) { -- cgit v1.2.3