Merge pull request #498 from ReplayCoding/crashhandler_fix

Fix compile error when TRACY_NO_CRASH_HANDLER is enabled
This commit is contained in:
Bartosz Taudul 2022-11-27 22:48:49 +01:00 committed by GitHub
commit 70e22ad045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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