summaryrefslogtreecommitdiff
path: root/games-strategy/julius/files/julius-1.6.0-musl-fix-execinfo.patch
blob: 2e554ac4c64c9da525271070c92da8db87866298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Fix building on musl
#
# Closes: https://bugs.gentoo.org/829246
diff --git a/src/core/backtrace.c b/src/core/backtrace.c
--- a/src/core/backtrace.c
+++ b/src/core/backtrace.c
@@ -2,7 +2,7 @@
 
 #include "core/log.h"
 
-#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && \
+#if defined(__GNUC__) && defined(__GLIBC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && \
     !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && \
     !defined(__HAIKU__) && !defined(__EMSCRIPTEN__)