summaryrefslogtreecommitdiffstats
path: root/lang/perl/patches/010-musl-compat.patch
blob: 8dbad78f4ce4ba55e975f6b88b9e0ad481fa3e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/pp.c
+++ b/pp.c
@@ -43,7 +43,7 @@ extern Pid_t getpid (void);
  * Some BSDs and Cygwin default to POSIX math instead of IEEE.
  * This switches them over to IEEE.
  */
-#if defined(LIBM_LIB_VERSION)
+#if defined(LIBM_LIB_VERSION) && (defined(__GLIBC__) || defined(__UCLIBC__))
     _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
 #endif