Here's extract from compilation log:
../../source/as_thread.cpp: In constructor ‘asCThreadCriticalSection::asCThreadCriticalSection()’:
../../source/as_thread.cpp:332:42: error: ‘InitializeCriticalSectionEx’ was not declared in this scope InitializeCriticalSectionEx(&cs, 4000, 0);
../../source/as_thread.cpp: In constructor ‘asCThreadReadWriteLock::asCThreadReadWriteLock()’:
../../source/as_thread.cpp:382:70: error: ‘CreateSemaphoreExW’ was not declared in this scope readLocks = CreateSemaphoreExW(NULL, maxReaders, maxReaders, 0, 0, 0);
../../source/as_thread.cpp:384:49: error: ‘InitializeCriticalSectionEx’ was not declared in this scope InitializeCriticalSectionEx(&writeLock, 4000, 0);