On Jul 6 13:23, Kai Tietz wrote: > 2012/7/6 Corinna Vinschen <[email protected]>: > > Hi, > > > > For years, it has been the default on Cygwin not to include winsock.h > > from windows.h, unless __USE_W32_SOCKETS is defined. The below patch > > carries that over to Mingw64's windows.h. Ok to apply? > > > > > > Thanks, > > Corinna > > Sure, this is ok. We want to have by default winsock 1, if windows.h > is included. As this behavior is that one described for windows > native. But for cygwin there is of course no need to follow this rule > here.
Thanks. In fact it's a big problem to include winsock.h by default. Every application using windows.h and POSIX default headers will otherwise have to define __USE_W32_SOCKETS or _SYS_TYPES_FD_SET. That would be kind of annoying. Patch applied. Thanks, Corinna ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
