mirror of
https://github.com/termux/termux-packages.git
synced 2025-06-03 15:25:17 +00:00
19 lines
452 B
Diff
19 lines
452 B
Diff
--- a/base/debug/stack_trace_posix.cc
|
|
+++ b/base/debug/stack_trace_posix.cc
|
|
@@ -1068,12 +1068,14 @@
|
|
#endif
|
|
}
|
|
|
|
-#if defined(HAVE_BACKTRACE)
|
|
+#if !defined(__UCLIBC__) && !defined(_AIX)
|
|
void StackTrace::OutputToStreamWithPrefixImpl(
|
|
std::ostream* os,
|
|
cstring_view prefix_string) const {
|
|
+#if defined(HAVE_BACKTRACE)
|
|
StreamBacktraceOutputHandler handler(os);
|
|
ProcessBacktrace(addresses(), prefix_string, &handler);
|
|
+#endif
|
|
}
|
|
#endif
|
|
|