Mac OSX: use __thread for thread-local storage
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(thread)
|
||||
#elif __APPLE__
|
||||
__thread
|
||||
#else
|
||||
thread_local
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user