debug: Fix uClibc macro condition

This commit is contained in:
klzgrad 2019-11-30 22:37:57 +08:00
parent 8a62cd66b2
commit 2d1d2354e4

View File

@ -120,6 +120,9 @@ class BASE_EXPORT StackTrace {
// prefix string prepended to each line. // prefix string prepended to each line.
void OutputToStreamWithPrefix(std::ostream* os, void OutputToStreamWithPrefix(std::ostream* os,
const char* prefix_string) const; const char* prefix_string) const;
#else
void OutputToStream(std::ostream* os) const;
void OutputToStreamWithPrefix(std::ostream*, const char*) const {}
#endif #endif
// Resolves backtrace to symbols and returns as string. // Resolves backtrace to symbols and returns as string.