about summary refs log tree commit diff
path: root/math/w_log2l_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_log2l_compat.c')
-rw-r--r--math/w_log2l_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_log2l_compat.c b/math/w_log2l_compat.c
index f496c3630e..cd367f2f51 100644
--- a/math/w_log2l_compat.c
+++ b/math/w_log2l_compat.c
@@ -22,6 +22,7 @@
 #include <math-svid-compat.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper log2l(x) */
 long double
 __log2l (long double x)
@@ -43,3 +44,4 @@ __log2l (long double x)
   return  __ieee754_log2l (x);
 }
 weak_alias (__log2l, log2l)
+#endif