about summary refs log tree commit diff
path: root/math/w_atanhf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_atanhf_compat.c')
-rw-r--r--math/w_atanhf_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_atanhf_compat.c b/math/w_atanhf_compat.c
index c9d2c3a3ae..6045188bd8 100644
--- a/math/w_atanhf_compat.c
+++ b/math/w_atanhf_compat.c
@@ -21,6 +21,7 @@
 #include <math-svid-compat.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper atanhf */
 float
 __atanhf (float x)
@@ -35,3 +36,4 @@ __atanhf (float x)
   return __ieee754_atanhf (x);
 }
 weak_alias (__atanhf, atanhf)
+#endif