aboutsummaryrefslogtreecommitdiff
path: root/lang/perl/patches/010-musl-compat.patch
blob: 77ea26f46b25213b33097fe3a6c31bc4dd184020 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/perl.c
+++ b/perl.c
@@ -303,7 +303,7 @@ perl_construct(pTHXx)
     PL_localpatches = local_patches;	/* For possible -v */
 #endif
 
-#if defined(LIBM_LIB_VERSION)
+#if defined(LIBM_LIB_VERSION) && defined(__UCLIBC__)
     /*
      * Some BSDs and Cygwin default to POSIX math instead of IEEE.
      * This switches them over to IEEE.