aboutsummaryrefslogtreecommitdiff
path: root/math/w_coshf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_coshf_compat.c')
-rw-r--r--math/w_coshf_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_coshf_compat.c b/math/w_coshf_compat.c
index dd62281..b5d5316 100644
--- a/math/w_coshf_compat.c
+++ b/math/w_coshf_compat.c
@@ -22,6 +22,7 @@
#include <math_private.h>
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
float
__coshf (float x)
{
@@ -33,3 +34,4 @@ __coshf (float x)
return z;
}
weak_alias (__coshf, coshf)
+#endif