1 Jul
2015
1 Jul
'15
9:28 p.m.
On 01.07.2015 20:47, Edward Diener wrote:
On 6/21/2015 12:25 PM, Andrey Semashev wrote:
If anyone has problems with this change, please let me know.
Versions of mingw/gcc, which are gcc 4.8.1-4 and below, fail because their windows.h names for some things are not the same as being used by winapi, even when i use the define above. This also goes for clang, which targets mingw/gcc 4.8.1-4.
Most noticeable is _RTL_CRITICAL_SECTION with their name being _CRITICAL_SECTION instead.
I suppose, I could add workarounds for the legacy MinGW. My concern is clang, though. When it begins to support MinGW64 SDK then I won't be able to deduce whether these workarounds are needed or not.