Thanks to recent work from @marsupial here rL301350
We can now bootstrap mingw x86 and x64 with clang without importing winpthreads headers. .i.e pthread.h
I never enabled emutls on WOA because of this extra step previously.
@mstorsjo would enabling this cause any issues with your work?
I also changed Windows.h to windows.h to support mingw from file case sensitive systems.
MSVC doesn't care much about this because it is run from windows.
I added Saleem also because he cares about cross compiling to windows and can give another perspective on the case sensitivity.
The file is Windows.h in the SDK, so why are you changing it to the lower case?