aboutsummaryrefslogtreecommitdiff
path: root/math/w_jn_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_jn_compat.c')
-rw-r--r--math/w_jn_compat.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/math/w_jn_compat.c b/math/w_jn_compat.c
index 7c49992cf4..496c779e8c 100644
--- a/math/w_jn_compat.c
+++ b/math/w_jn_compat.c
@@ -22,6 +22,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
/* wrapper jn */
double
jn (int n, double x)
@@ -33,9 +34,9 @@ jn (int n, double x)
return __ieee754_jn (n, x);
}
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
weak_alias (jn, jnl)
-#endif
+# endif
/* wrapper yn */
@@ -64,6 +65,7 @@ yn (int n, double x)
return __ieee754_yn (n, x);
}
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
weak_alias (yn, ynl)
+# endif
#endif