mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Mac OSX: use __thread for thread-local storage
This commit is contained in:
parent
64cfab5b46
commit
e7f0efa56d
@ -8,6 +8,8 @@ __forceinline void SM_Sleep()
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(thread)
|
||||
#elif __APPLE__
|
||||
__thread
|
||||
#else
|
||||
thread_local
|
||||
#endif
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(thread)
|
||||
#elif __APPLE__
|
||||
__thread
|
||||
#else
|
||||
thread_local
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user