diff options
Diffstat (limited to 'math/w_log_compat.c')
-rw-r--r-- | math/w_log_compat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/math/w_log_compat.c b/math/w_log_compat.c index 82f3ff4eec..80750b4371 100644 --- a/math/w_log_compat.c +++ b/math/w_log_compat.c @@ -22,6 +22,7 @@ #include <math-svid-compat.h> +#if LIBM_SVID_COMPAT /* wrapper log(x) */ double __log (double x) @@ -43,7 +44,8 @@ __log (double x) return __ieee754_log (x); } weak_alias (__log, log) -#ifdef NO_LONG_DOUBLE +# ifdef NO_LONG_DOUBLE strong_alias (__log, __logl) weak_alias (__log, logl) +# endif #endif |