Windows: Interlocked ops work on LONGs
Therefore change the type of the TLS slot id to LONG.
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
#define ERR_STR_LEN 256
|
#define ERR_STR_LEN 256
|
||||||
|
|
||||||
static volatile DWORD dlfcn_tls = TLS_OUT_OF_INDEXES;
|
static volatile LONG dlfcn_tls = TLS_OUT_OF_INDEXES;
|
||||||
|
|
||||||
static DWORD get_tl_error_slot(void)
|
static DWORD get_tl_error_slot(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user