From f71af873c02e6c545acd176a98aa1150ef1bef3e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 3 Nov 2017 11:13:02 +0100 Subject: [PATCH] Proper function name. --- common/TracySystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/TracySystem.cpp b/common/TracySystem.cpp index 3d2cac02..ddc70cd6 100644 --- a/common/TracySystem.cpp +++ b/common/TracySystem.cpp @@ -92,7 +92,7 @@ void SetThreadName( std::thread::native_handle_type handle, const char* name ) # ifdef _WIN32 data->id = GetThreadId( static_cast( handle ) ); # elif defined __APPLE__ - pthread_thread_id( handle, &data->id ); + pthread_threadid_np( handle, &data->id ); # else data->id = (uint64_t)handle; # endif