This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: mingw64-{headers,runtime,winpthreads} w32api-* 3.3.0-1
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Dec 2014 12:30:31 -0600
- Subject: Re: [ANNOUNCEMENT] Updated: mingw64-{headers,runtime,winpthreads} w32api-* 3.3.0-1
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 547325C2 dot 20002 at gmail dot com>
On 2014-11-24 06:34, JonY wrote:
Notable changes:
* netioapi.h now includes ws2ipdef.h.
This change breaks the build of bind. bind includes its own resolver
code (lwres), which is patched to use the win32 backend as a fallback to
/etc/resolv.conf (just like Cygwin's libresolv does). The win32 code
has an #include <iphlpapi.h> for GetNetworkParams, which #include
<netioapi.h>. The compile now fails because <ws2ipdef.h> uses
ADDRESS_FAMILY which is typedef'd in <winsock2.h> but not included.
Furthermore, we don't *want* to include winsock2 headers in a Cygwin
program because they conflict with the *NIX socket headers.
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple