aboutsummaryrefslogtreecommitdiff
path: root/math/w_coshl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_coshl_compat.c')
-rw-r--r--math/w_coshl_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_coshl_compat.c b/math/w_coshl_compat.c
index 5fa32bea88..4dab6eff67 100644
--- a/math/w_coshl_compat.c
+++ b/math/w_coshl_compat.c
@@ -23,6 +23,7 @@
#include <math_private.h>
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
long double
__coshl (long double x)
{
@@ -34,3 +35,4 @@ __coshl (long double x)
return z;
}
weak_alias (__coshl, coshl)
+#endif