From 3fd74a92f93574c248eb84a430072bef4713e728 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 7 Nov 2019 19:01:42 +0100 Subject: [PATCH] Native threads are used on mingw. --- client/TracyProfiler.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 0d8caaaa..0205ca2c 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1085,14 +1085,8 @@ Profiler::Profiler() } #endif -#if defined PTW32_VERSION - s_profilerThreadId = pthread_getw32threadid_np( s_thread->Handle() ); -#elif defined __WINPTHREADS_VERSION - s_profilerThreadId = GetThreadId( (HANDLE)pthread_gethandle( s_thread->Handle() ) ); -#elif defined _MSC_VER - s_profilerThreadId = GetThreadId( s_thread->Handle() ); -#endif #if defined _WIN32 + s_profilerThreadId = GetThreadId( s_thread->Handle() ); AddVectoredExceptionHandler( 1, CrashFilter ); #endif