From 16195d5243f0c62d0d074caa5f7d8540d2fa7627 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 30 Nov 2019 22:37:57 +0800 Subject: [PATCH] debug: Fix uClibc macro condition --- src/base/debug/stack_trace.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/base/debug/stack_trace.h b/src/base/debug/stack_trace.h index ef208def8b..b5ef5b4f22 100644 --- a/src/base/debug/stack_trace.h +++ b/src/base/debug/stack_trace.h @@ -120,6 +120,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.