diff --git a/Core/src/ThreadPThread.cpp b/Core/src/ThreadPThread.cpp index e55da1c..de7b871 100644 --- a/Core/src/ThreadPThread.cpp +++ b/Core/src/ThreadPThread.cpp @@ -140,6 +140,8 @@ void TCThread::Yield() { uint64 TCThread::ThreadID() { #ifdef __MINGW32__ return static_cast(pthread_self().x); +#elif defined __APPLE__ + return reinterpret_cast(pthread_self()); #else return static_cast(pthread_self()); #endif