aboutsummaryrefslogtreecommitdiff
path: root/math/w_hypotl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_hypotl_compat.c')
-rw-r--r--math/w_hypotl_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_hypotl_compat.c b/math/w_hypotl_compat.c
index 13060f74a7..bc56d29a04 100644
--- a/math/w_hypotl_compat.c
+++ b/math/w_hypotl_compat.c
@@ -23,6 +23,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
long double
__hypotl(long double x, long double y)
{
@@ -35,3 +36,4 @@ __hypotl(long double x, long double y)
return z;
}
weak_alias (__hypotl, hypotl)
+#endif