[gnutls-devel] [patch]: windows build fix: ws2tcpip.h supplies inet_ntop

Eli Zaretskii eliz at gnu.org
Mon Nov 24 15:09:25 CET 2014


> Date: Mon, 24 Nov 2014 15:01:55 +0100
> From: Mark Brand <mabrand at mabrand.nl>
> CC: gnutls-devel at lists.gnutls.org
> 
> 
> On 11/24/2014 02:16 PM, Eli Zaretskii wrote:
> >> Date: Mon, 24 Nov 2014 09:07:03 +0100
> >> From: Mark Brand <mabrand at mabrand.nl>
> >>
> >> Small build fix for gnutls_3_3_x branch.
> >>
> >> commit 6e239fdb653f89f9324ec6e3f00052e8a5641557
> >> Author: Mark Brand <mabrand at mabrand.nl>
> >> Date:   Mon Nov 24 08:56:48 2014 +0100
> >>
> >>       windows build fix: ws2tcpip.h supplies inet_ntop
> > In which version of what compiler/library?  I don't have it in my
> > w32api headers (MinGW32 version 3.17).
> 
> Mingw-w64 3.3.0 has ws2tcpip.h with inet_ntop. Apparently it's in the 
> Win API since Vista:
> 
> http://msdn.microsoft.com/en-us/library/windows/desktop/cc805843%28v=vs.85%29.aspx

Thanks.  So I guess some version checking is in order here.



More information about the Gnutls-devel mailing list