[cfe-dev] Compiling clang on Windows/TDM-GCC 4.8.1-3 (MinGW32)
Yaron Keren
yaron.keren at gmail.com
Thu Sep 11 10:49:26 PDT 2014
I think _WIN32_WINNT is the right approach, since we should not duplicate
content from header file.
_WIN32_WINNT=0x0502 means Windows server 2003 or later, which is quite
antique anyhow.
http://msdn.microsoft.com/en-us/library/6sehtctf.aspx
Yaron
2014-09-11 20:32 GMT+03:00 Rafael EspĂndola <rafael.espindola at gmail.com>:
> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140911/9eabc0f2/attachment.html>
More information about the cfe-dev
mailing list