mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 17:13:54 +00:00
PThreads are weird on OS X
This commit is contained in:
parent
b1ef548a7c
commit
914eeae284
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue