aboutsummaryrefslogtreecommitdiff
path: root/math/w_sqrtl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sqrtl_compat.c')
-rw-r--r--math/w_sqrtl_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_sqrtl_compat.c b/math/w_sqrtl_compat.c
index 43e81acf0a..b0afd1171c 100644
--- a/math/w_sqrtl_compat.c
+++ b/math/w_sqrtl_compat.c
@@ -21,6 +21,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
/* wrapper sqrtl */
long double
__sqrtl (long double x)
@@ -31,3 +32,4 @@ __sqrtl (long double x)
return __ieee754_sqrtl (x);
}
weak_alias (__sqrtl, sqrtl)
+#endif