diff options
Diffstat (limited to 'math/w_scalb_compat.c')
-rw-r--r-- | math/w_scalb_compat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/math/w_scalb_compat.c b/math/w_scalb_compat.c index a31e54dd78..277e724415 100644 --- a/math/w_scalb_compat.c +++ b/math/w_scalb_compat.c @@ -22,6 +22,7 @@ #include <math-svid-compat.h> +#if LIBM_SVID_COMPAT static double __attribute__ ((noinline)) sysv_scalb (double x, double fn) @@ -40,15 +41,18 @@ sysv_scalb (double x, double fn) return z; } +#endif /* Wrapper scalb */ double __scalb (double x, double fn) { +#if LIBM_SVID_COMPAT if (__glibc_unlikely (_LIB_VERSION == _SVID_)) return sysv_scalb (x, fn); else +#endif { double z = __ieee754_scalb (x, fn); |