meganz / mingw-std-threads

Standard threads implementation currently still missing on MinGW GCC on Windows
BSD 2-Clause "Simplified" License
439 stars 137 forks source link

Detect when MinGW-w32 is used #64

Closed nmcclatchey closed 5 years ago

nmcclatchey commented 5 years ago

MinGW-w32's version of the Windows API is lacking certain headers. In particular, it includes windows.h, but not the more granular headers such as synchapi.h. Though the library's users would be best served by upgrading to MinGW-w64, supporting the legacy MinGW-w32 should increase the versatility of the library with minimal effort.