about summary refs log tree commit diff
path: root/math/w_hypotf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_hypotf_compat.c')
-rw-r--r--math/w_hypotf_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_hypotf_compat.c b/math/w_hypotf_compat.c
index 0a43d90a00..8e6d2343eb 100644
--- a/math/w_hypotf_compat.c
+++ b/math/w_hypotf_compat.c
@@ -22,6 +22,7 @@
 #include <math-svid-compat.h>
 
 
+#if LIBM_SVID_COMPAT
 float
 __hypotf(float x, float y)
 {
@@ -34,3 +35,4 @@ __hypotf(float x, float y)
 	return z;
 }
 weak_alias (__hypotf, hypotf)
+#endif