about summary refs log tree commit diff
path: root/math/w_acosl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_acosl_compat.c')
-rw-r--r--math/w_acosl_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_acosl_compat.c b/math/w_acosl_compat.c
index 66600b5d38..7d2f1835ae 100644
--- a/math/w_acosl_compat.c
+++ b/math/w_acosl_compat.c
@@ -22,6 +22,7 @@
 #include <math-svid-compat.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper acosl */
 long double
 __acosl (long double x)
@@ -37,3 +38,4 @@ __acosl (long double x)
   return __ieee754_acosl (x);
 }
 weak_alias (__acosl, acosl)
+#endif