1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Detect glibc explicitly

This commit is contained in:
Arvid Gerstmann 2018-07-14 13:23:00 +02:00
parent ad48c32e1e
commit b8db9df949

View File

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