mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
base/debug: Fix uClibc macro condition
This commit is contained in:
parent
071a3af404
commit
78e8c4b0e7
@ -126,6 +126,10 @@ 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,
|
||||||
cstring_view prefix_string) const;
|
cstring_view prefix_string) const;
|
||||||
|
#else
|
||||||
|
void OutputToStream(std::ostream* os) const;
|
||||||
|
void OutputToStreamWithPrefix(std::ostream* os,
|
||||||
|
cstring_view prefix_string) const;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Resolves backtrace to symbols and returns as string.
|
// Resolves backtrace to symbols and returns as string.
|
||||||
@ -149,6 +153,9 @@ class BASE_EXPORT StackTrace {
|
|||||||
#if !defined(__UCLIBC__) && !defined(_AIX)
|
#if !defined(__UCLIBC__) && !defined(_AIX)
|
||||||
void OutputToStreamWithPrefixImpl(std::ostream* os,
|
void OutputToStreamWithPrefixImpl(std::ostream* os,
|
||||||
cstring_view prefix_string) const;
|
cstring_view prefix_string) const;
|
||||||
|
#else
|
||||||
|
void OutputToStreamWithPrefixImpl(std::ostream* os,
|
||||||
|
cstring_view prefix_string) const {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Returns true if generation of symbolized stack traces is to be suppressed.
|
// Returns true if generation of symbolized stack traces is to be suppressed.
|
||||||
|
Loading…
Reference in New Issue
Block a user