summary refs log tree commit diff
path: root/math/w_sinhf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sinhf_compat.c')
-rw-r--r--math/w_sinhf_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_sinhf_compat.c b/math/w_sinhf_compat.c
index 2103b06253..1310ccf93b 100644
--- a/math/w_sinhf_compat.c
+++ b/math/w_sinhf_compat.c
@@ -21,6 +21,7 @@
 #include <math_private.h>
 #include <math-svid-compat.h>
 
+#if LIBM_SVID_COMPAT
 float
 __sinhf (float x)
 {
@@ -32,3 +33,4 @@ __sinhf (float x)
 	return z;
 }
 weak_alias (__sinhf, sinhf)
+#endif