[gnutls-devel] [patch]: windows build fix: ws2tcpip.h supplies inet_ntop
nmav at gnutls.org
Mon Nov 24 18:53:17 CET 2014
On Mon, 2014-11-24 at 15:01 +0100, Mark Brand wrote:
> 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:
Thanks Mark. Wouldn't that make though the distributed gnutls binaries
required windows vista+? I'd like to keep windows xp compatibility. A
way would be by doing something similar to what system-keys-win.c does
in master for the CNG API, or bundling a tiny inet_ntop, but I'm not
sure it's worth the effort. In any case, if there is a patch that would
allow compatibility with older windows systems I'll apply it.
More information about the Gnutls-devel