mirror of
https://github.com/gperftools/gperftools
synced 2025-01-02 04:32:03 +00:00
test PREFER_LIBGCC_UNWINDER via defined()
Our newly updated cmake bits now define it to empty, when it is enabled, so we want to test it right. Autoconf stuff behaves the same as before.
This commit is contained in:
parent
bbc03edc4d
commit
6299ae9869
@ -197,7 +197,7 @@ struct GetStackImplementation {
|
||||
// historically we defaulted to frame pointer unwinder whenever
|
||||
// --enable-frame-pointers is given. So we keep this behavior.
|
||||
#define PREFER_FP_UNWINDER 1
|
||||
#elif TCMALLOC_DONT_PREFER_LIBUNWIND && !PREFER_LIBGCC_UNWINDER
|
||||
#elif TCMALLOC_DONT_PREFER_LIBUNWIND && !defined(PREFER_LIBGCC_UNWINDER)
|
||||
#define PREFER_FP_UNWINDER 1
|
||||
#else
|
||||
#define PREFER_FP_UNWINDER 0
|
||||
|
Loading…
Reference in New Issue
Block a user