make things compile under windows again, there's still some ugly ifdefs

I'd like to get rid of
This commit is contained in:
Peter Tissen committed 2014-02-24 01:51:55 +01:00
1 parent 92fb77d50e
commit 1908286e7c
11 files changed
+97 -95

No files matched your search

+6 -1
View File
@@ -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()
{