aboutsummaryrefslogtreecommitdiff
path: root/math/w_j0_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_j0_compat.c')
-rw-r--r--math/w_j0_compat.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/math/w_j0_compat.c b/math/w_j0_compat.c
index 80d21acde1..3df71e0b7b 100644
--- a/math/w_j0_compat.c
+++ b/math/w_j0_compat.c
@@ -22,6 +22,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
/* wrapper j0 */
double
j0 (double x)
@@ -33,9 +34,9 @@ j0 (double x)
return __ieee754_j0 (x);
}
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
weak_alias (j0, j0l)
-#endif
+# endif
/* wrapper y0 */
@@ -64,6 +65,7 @@ y0 (double x)
return __ieee754_y0 (x);
}
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
weak_alias (y0, y0l)
+# endif
#endif