aboutsummaryrefslogtreecommitdiff
path: root/lang/perl/patches/010-musl-compat.patch
blob: e38a05be8d553641ef984d0e5ef7e21b42b1b631 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/perl.c
+++ b/perl.c
@@ -317,7 +317,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.