win32: fix MinGW vs. MSVC build problem
This commit is contained in:
parent
4041e3c841
commit
05ce8bce80
|
@ -292,7 +292,11 @@ START_XFORM_SKIP;
|
||||||
|
|
||||||
#ifdef IMPLEMENT_THREAD_LOCAL_VIA_WIN_TLS
|
#ifdef IMPLEMENT_THREAD_LOCAL_VIA_WIN_TLS
|
||||||
extern intptr_t _tls_index;
|
extern intptr_t _tls_index;
|
||||||
|
# ifdef __MINGW32__
|
||||||
static __thread void *tls_space;
|
static __thread void *tls_space;
|
||||||
|
# else
|
||||||
|
static __declspec(thread) void *tls_space;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DOS_FILE_SYSTEM
|
#ifdef DOS_FILE_SYSTEM
|
||||||
|
|
Loading…
Reference in New Issue
Block a user