blob: 83b1bd7dab5ac0ac363a2154877d5f531c0dd574 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
execinfo is unavailable with musl (unless opt to package+use libexecinfo)
--- a/src/libs/utils/qtcassert.cpp
+++ b/src/libs/utils/qtcassert.cpp
@@ -10,3 +10,3 @@
-#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__)
+#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__)
#include <execinfo.h>
@@ -29,3 +29,3 @@
maxdepth = ArraySize;
-#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__)
+#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__)
void *bt[ArraySize] = {nullptr};
|