aboutsummaryrefslogtreecommitdiff
path: root/math/w_jnf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_jnf_compat.c')
-rw-r--r--math/w_jnf_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_jnf_compat.c b/math/w_jnf_compat.c
index ead40e7a60..440d53d13e 100644
--- a/math/w_jnf_compat.c
+++ b/math/w_jnf_compat.c
@@ -22,6 +22,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
/* wrapper jnf */
float
jnf (int n, float x)
@@ -62,3 +63,4 @@ ynf (int n, float x)
return __ieee754_ynf (n, x);
}
+#endif