Re: Mingw headers broken with _WIN32_WINNT = 0x601 (Win7)

2011-01-06 Thread Daniel Colascione
Thanks --- much appreciated. On Thu, Jan 6, 2011 at 3:35 PM, JonY wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 1/7/2011 07:20, Daniel Colascione wrote: >> If we have this program >> >> #define _WIN32_WINNT 0x601 >> #include >> >> int main() {} >> >> >> And try to compile it li

Re: Mingw headers broken with _WIN32_WINNT = 0x601 (Win7)

2011-01-06 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/7/2011 07:20, Daniel Colascione wrote: > If we have this program > > #define _WIN32_WINNT 0x601 > #include > > int main() {} > > > And try to compile it like so, > > x86_64-w64-mingw32-gcc hello.c > > The compile fails with > > In file inc

Mingw headers broken with _WIN32_WINNT = 0x601 (Win7)

2011-01-06 Thread Daniel Colascione
If we have this program #define _WIN32_WINNT 0x601 #include int main() {} And try to compile it like so, x86_64-w64-mingw32-gcc hello.c The compile fails with In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:86:0, from hello.c:2: /usr/x86_64-w6