Fix compile error when TRACY_NO_CRASH_HANDLER is enabled

This commit is contained in:
ReplayCoding
2022-11-27 13:40:45 -08:00
parent 7e5ee54f93
commit 311ad7b061
+1 -1
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