mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Detect glibc explicitly
This commit is contained in:
parent
ad48c32e1e
commit
b8db9df949
@ -12,10 +12,10 @@ extern "C"
|
||||
# define TRACY_HAS_CALLSTACK 2
|
||||
# include <unwind.h>
|
||||
#elif defined __linux
|
||||
# if defined _GNU_SOURCE && defined __has_include && __has_include(<execinfo.h>)
|
||||
# if defined _GNU_SOURCE && defined __GLIBC__
|
||||
# define TRACY_HAS_CALLSTACK 3
|
||||
# include <execinfo.h>
|
||||
# elif defined __has_include && __has_include(<unwind.h>)
|
||||
# else
|
||||
# define TRACY_HAS_CALLSTACK 2
|
||||
# include <unwind.h>
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user