Skip to content

Commit

Permalink
debug: Fix uClibc macro condition
Browse files Browse the repository at this point in the history
  • Loading branch information
klzgrad committed Mar 30, 2022
1 parent 7e3a06f commit 61512a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/base/debug/stack_trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ class BASE_EXPORT StackTrace {
// prefix string prepended to each line.
void OutputToStreamWithPrefix(std::ostream* os,
const char* prefix_string) const;
#else
void OutputToStream(std::ostream* os) const;
void OutputToStreamWithPrefix(std::ostream*, const char*) const {}
#endif

// Resolves backtrace to symbols and returns as string.
Expand Down

0 comments on commit 61512a2

Please sign in to comment.