musl: base: Fix stack trace printing

master
klzgrad 2024-10-07 14:46:36 +08:00
parent 56ee09f800
commit d94c164109
1 changed files with 4 additions and 0 deletions

View File

@ -1089,6 +1089,10 @@ void StackTrace::OutputToStreamWithPrefixImpl(
StreamBacktraceOutputHandler handler(os);
ProcessBacktrace(addresses(), prefix_string, &handler);
}
#else
void StackTrace::OutputToStreamWithPrefixImpl(
std::ostream*, cstring_view) const {
}
#endif
namespace internal {