s_symbolTid is only available if crash handler is there.

This commit is contained in:
Bartosz Taudul
2022-10-12 19:56:46 +02:00
parent a235dca7ea
commit 8ca4bc761d

View File

@@ -3257,7 +3257,7 @@ void Profiler::HandleSymbolQueueItem( const SymbolQueueItem& si )
void Profiler::SymbolWorker()
{
#ifdef __linux__
#ifdef __linux__ && !defined TRACY_NO_CRASH_HANDLER
s_symbolTid = syscall( SYS_gettid );
#endif