Fix compile error when TRACY_NO_CRASH_HANDLER is enabled

This commit is contained in:
ReplayCoding 2022-11-16 14:14:37 -08:00
parent 7e5ee54f93
commit 311ad7b061
No known key found for this signature in database

View File

@ -1520,7 +1520,7 @@ bool Profiler::ShouldExit()
void Profiler::Worker()
{
#ifdef __linux__
#if defined __linux__ && !defined TRACY_NO_CRASH_HANDLER
s_profilerTid = syscall( SYS_gettid );
#endif