mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 21:38:01 +03:00
make things compile under windows again, there's still some ugly ifdefs
I'd like to get rid of
This commit is contained in:
parent
92fb77d50e
commit
1908286e7c
11 changed files with 97 additions and 95 deletions
|
@ -1,7 +1,12 @@
|
|||
#include "stdafx.h"
|
||||
#include "Thread.h"
|
||||
|
||||
/*__declspec(thread)*/ thread_local NamedThreadBase* g_tls_this_thread = nullptr;
|
||||
#ifdef _WIN32
|
||||
__declspec(thread)
|
||||
#else
|
||||
thread_local
|
||||
#endif
|
||||
NamedThreadBase* g_tls_this_thread = nullptr;
|
||||
|
||||
NamedThreadBase* GetCurrentNamedThread()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue