summaryrefslogtreecommitdiff
path: root/math/w_sinh_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sinh_compat.c')
-rw-r--r--math/w_sinh_compat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/w_sinh_compat.c b/math/w_sinh_compat.c
index 121edfc892..e5c3724763 100644
--- a/math/w_sinh_compat.c
+++ b/math/w_sinh_compat.c
@@ -18,6 +18,7 @@
#include <math_private.h>
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
double
__sinh (double x)
{
@@ -29,7 +30,8 @@ __sinh (double x)
return z;
}
weak_alias (__sinh, sinh)
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
strong_alias (__sinh, __sinhl)
weak_alias (__sinh, sinhl)
+# endif
#endif