mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
23 lines
906 B
Diff
23 lines
906 B
Diff
diff --git a/src/3rdparty/chromium/base/debug/stack_trace.cc b/src/3rdparty/chromium/base/debug/stack_trace.cc
|
|
index 6226b3b9ed..7922cc9a99 100644
|
|
--- a/src/3rdparty/chromium/base/debug/stack_trace.cc
|
|
+++ b/src/3rdparty/chromium/base/debug/stack_trace.cc
|
|
@@ -300,7 +300,9 @@ void StackTrace::PrintWithPrefix(cstring_view prefix_string) const {
|
|
}
|
|
|
|
void StackTrace::OutputToStream(std::ostream* os) const {
|
|
+#if defined(__GLIBC__) && !defined(_AIX)
|
|
OutputToStreamWithPrefix(os, {});
|
|
+#endif
|
|
}
|
|
|
|
void StackTrace::OutputToStreamWithPrefix(std::ostream* os,
|
|
@@ -320,7 +322,7 @@ std::string StackTrace::ToString() const {
|
|
|
|
std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const {
|
|
std::stringstream stream;
|
|
-#if !defined(__UCLIBC__) && !defined(_AIX)
|
|
+#if defined(__GLIBC__) && !defined(_AIX)
|
|
OutputToStreamWithPrefix(&stream, prefix_string);
|
|
#endif
|
|
return stream.str();
|