Commit ccbfd1c2414d8351a22f3f890994404c50a4b8df

Guillem Jover 2023-04-07T23:40:22

build: Remove __MUSL__ definition from configure We stopped relying on this macro when we turned the funopen() cpp error into a warning in commit e50896286cc5718898194edb73fa7262ad9a22db.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/configure.ac b/configure.ac
index 7588a3b..068bd92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,10 +155,6 @@ AS_CASE([$host_os],
     ])
     LIBS="$saved_LIBS"
   ],
-  [*-musl*], [
-    # Upstream refuses to define this, we will do it ourselves then.
-    AC_DEFINE([__MUSL__], [1], [Define to 1 if we are building for musl])
-  ],
   [mingw*], [
     is_windows=yes
   ],