diff options
Diffstat (limited to 'math/w_log2_compat.c')
-rw-r--r-- | math/w_log2_compat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/math/w_log2_compat.c b/math/w_log2_compat.c index 252fc0d86a..6d1f9f2159 100644 --- a/math/w_log2_compat.c +++ b/math/w_log2_compat.c @@ -22,6 +22,7 @@ #include <math-svid-compat.h> +#if LIBM_SVID_COMPAT /* wrapper log2(x) */ double __log2 (double x) @@ -43,7 +44,8 @@ __log2 (double x) return __ieee754_log2 (x); } weak_alias (__log2, log2) -#ifdef NO_LONG_DOUBLE +# ifdef NO_LONG_DOUBLE strong_alias (__log2, __log2l) weak_alias (__log2, log2l) +# endif #endif |