diff --git a/client/TracyCallstack.hpp b/client/TracyCallstack.hpp index c9a4b235..e0020cf9 100644 --- a/client/TracyCallstack.hpp +++ b/client/TracyCallstack.hpp @@ -12,10 +12,10 @@ extern "C" # define TRACY_HAS_CALLSTACK 2 # include #elif defined __linux -# if defined _GNU_SOURCE && defined __has_include && __has_include() +# if defined _GNU_SOURCE && defined __GLIBC__ # define TRACY_HAS_CALLSTACK 3 # include -# elif defined __has_include && __has_include() +# else # define TRACY_HAS_CALLSTACK 2 # include # endif