debug: Fix uClibc macro condition

96.0.4664.45
klzgrad 2019-11-30 22:37:57 +08:00
parent df12a8b1af
commit bb9430889f
1 changed files with 3 additions and 0 deletions

View File

@ -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.