blob: 77ea26f46b25213b33097fe3a6c31bc4dd184020 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/perl.c
2+++ b/perl.c
3@@ -303,7 +303,7 @@ perl_construct(pTHXx)
4 PL_localpatches = local_patches; /* For possible -v */
5 #endif
6
7-#if defined(LIBM_LIB_VERSION)
8+#if defined(LIBM_LIB_VERSION) && defined(__UCLIBC__)
9 /*
10 * Some BSDs and Cygwin default to POSIX math instead of IEEE.
11 * This switches them over to IEEE.