about summary refs log tree commit diff
path: root/math/w_sqrtf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sqrtf_compat.c')
-rw-r--r--math/w_sqrtf_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_sqrtf_compat.c b/math/w_sqrtf_compat.c
index 0689b4bb1a..bd3d5048fc 100644
--- a/math/w_sqrtf_compat.c
+++ b/math/w_sqrtf_compat.c
@@ -21,6 +21,7 @@
 #include <math-svid-compat.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper sqrtf */
 float
 __sqrtf (float x)
@@ -31,3 +32,4 @@ __sqrtf (float x)
   return __ieee754_sqrtf (x);
 }
 weak_alias (__sqrtf, sqrtf)
+#endif