mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 11:26:41 +02:00
22 lines
571 B
Diff
22 lines
571 B
Diff
diff --git a/src/Main/bootstrap.cxx b/src/Main/bootstrap.cxx
|
|
index f9eb159..958aa8a 100755
|
|
--- a/src/Main/bootstrap.cxx
|
|
+++ b/src/Main/bootstrap.cxx
|
|
@@ -188,7 +188,6 @@ bool checkUniversalCRTVersion()
|
|
#endif
|
|
|
|
#if defined(__GNUC__)
|
|
-#include <execinfo.h>
|
|
#include <cxxabi.h>
|
|
void segfault_handler(int signo) {
|
|
void *array[128];
|
|
@@ -193,7 +193,7 @@ void segfault_handler(int signo) {
|
|
|
|
fprintf(stderr, "Error: caught signal %d:\n", signo);
|
|
|
|
- #ifndef __OpenBSD__
|
|
+ #if defined(__GLIBC__)
|
|
void *array[128];
|
|
size_t size;
|
|
size = backtrace(array, 128);
|
|
|