Commit 6e94a1ef by Jacques Germishuys

_InterlockedExchange expects a volatile LONG

parent 1017f81f
......@@ -74,7 +74,7 @@ static void git__shutdown(void)
#if defined(GIT_THREADS) && defined(GIT_WIN32)
static DWORD _tls_index;
static DWORD _mutex = 0;
static volatile LONG _mutex = 0;
static int synchronized_threads_init()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment