mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
12 lines
322 B
Diff
12 lines
322 B
Diff
--- a/src/Main/bootstrap.cxx
|
|
+++ b/src/Main/bootstrap.cxx
|
|
@@ -159,7 +159,7 @@ void segfault_handler(int signo) {
|
|
|
|
fprintf(stderr, "Error: caught signal %d:\n", signo);
|
|
|
|
- #ifndef __OpenBSD__
|
|
+ #if defined(__GLIBC__)
|
|
size = backtrace(array, 128);
|
|
if (size) {
|
|
char** list = backtrace_symbols(array, size);
|