Windows: Interlocked ops work on LONGs

Therefore change the type of the TLS slot id to LONG.
This commit is contained in:
Asanka C. Herath
2010-11-24 13:08:12 -05:00
parent bd6e3ff7c9
commit d4379e27de

View File

@@ -36,7 +36,7 @@
#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)
{