[cfe-dev] Compiling clang on Windows/TDM-GCC 4.8.1-3 (MinGW32)

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Sep 11 10:32:05 PDT 2014


On 11 September 2014 13:29, Eran Ifrah <eran.ifrah at gmail.com> wrote:
> The header file is included indirectly (<winnt.h>). However, the definitions
> are not visible since _WIN32_WINNT is set to a value lower than 0x0502
> Attached is a patch to the CMakeLists.txt file that adds
> -D_WIN32_WINNT=0x0502 in case of MinGW and WIN32 conditions are met

Not sure which one is better. Aaron, any thoughts?

Cheers,
Rafael



More information about the cfe-dev mailing list