diff --git a/common/TracySystem.cpp b/common/TracySystem.cpp index 4604f63b..eb38acbf 100644 --- a/common/TracySystem.cpp +++ b/common/TracySystem.cpp @@ -15,10 +15,10 @@ #endif #ifdef __linux__ -# ifndef __ANDROID__ -# include -# endif -# include +# ifndef __ANDROID__ +# include +# endif +# include #endif #ifdef __MINGW32__ @@ -137,7 +137,6 @@ void SetThreadName( std::thread::native_handle_type handle, const char* name ) # elif defined __APPLE__ pthread_threadid_np( handle, &data->id ); # elif defined __CYGWIN__ - data->id = GetThreadId( ((stub2*)handle)->hnd ); # else data->id = (uint64_t)handle;