aboutsummaryrefslogtreecommitdiff
path: root/math/w_j1_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_j1_compat.c')
-rw-r--r--math/w_j1_compat.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/math/w_j1_compat.c b/math/w_j1_compat.c
index f7a76c10d5..be788f9864 100644
--- a/math/w_j1_compat.c
+++ b/math/w_j1_compat.c
@@ -22,6 +22,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
/* wrapper j1 */
double
j1 (double x)
@@ -33,9 +34,9 @@ j1 (double x)
return __ieee754_j1 (x);
}
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
weak_alias (j1, j1l)
-#endif
+# endif
/* wrapper y1 */
@@ -64,6 +65,7 @@ y1 (double x)
return __ieee754_y1 (x);
}
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
weak_alias (y1, y1l)
+# endif
#endif