about summary refs log tree commit diff
path: root/math/w_sinhl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sinhl_compat.c')
-rw-r--r--math/w_sinhl_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_sinhl_compat.c b/math/w_sinhl_compat.c
index 57f08e7ecc..348209860a 100644
--- a/math/w_sinhl_compat.c
+++ b/math/w_sinhl_compat.c
@@ -22,6 +22,7 @@
 #include <math_private.h>
 #include <math-svid-compat.h>
 
+#if LIBM_SVID_COMPAT
 long double
 __sinhl (long double x)
 {
@@ -33,3 +34,4 @@ __sinhl (long double x)
 	return z;
 }
 weak_alias (__sinhl, sinhl)
+#endif