mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-28 00:54:23 +01:00
PThreads are weird on OS X
This commit is contained in:
parent
b1ef548a7c
commit
914eeae284
@ -140,6 +140,8 @@ void TCThread::Yield() {
|
||||
uint64 TCThread::ThreadID() {
|
||||
#ifdef __MINGW32__
|
||||
return static_cast<uint64>(pthread_self().x);
|
||||
#elif defined __APPLE__
|
||||
return reinterpret_cast<uint64>(pthread_self());
|
||||
#else
|
||||
return static_cast<uint64>(pthread_self());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user