projects/aports·blob master · refs

22 lines · 571 B

1diff --git a/src/Main/bootstrap.cxx b/src/Main/bootstrap.cxx
2index f9eb159..958aa8a 100755
3--- a/src/Main/bootstrap.cxx
4+++ b/src/Main/bootstrap.cxx
5@@ -188,7 +188,6 @@ bool checkUniversalCRTVersion()
6 #endif
7
8 #if defined(__GNUC__)
9-#include <execinfo.h>
10 #include <cxxabi.h>
11 void segfault_handler(int signo) {
12 void *array[128];
13@@ -193,7 +193,7 @@ void segfault_handler(int signo) {
14
15 fprintf(stderr, "Error: caught signal %d:\n", signo);
16
17- #ifndef __OpenBSD__
18+ #if defined(__GLIBC__)
19 void *array[128];
20 size_t size;
21 size = backtrace(array, 128);
22