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

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


> Date: Mon, 24 Nov 2014 15:11:57 +0100
> From: Mark Brand <mabrand at mabrand.nl>
> 
> > Thanks.  So I guess some version checking is in order here.
> 
> I'm not sure that's necessary. It seems safe to assume that if inet_ntop 
> is detected and the platform is windows, then we need ws2tcpip.h.

Perhaps you are right.  Does the configure test program include
ws2tcpip.h, and does removing the inet_ntop prototype from that header
fails the test?  (I cannot easily test that where I'm typing this,
sorry.)  If the answer to both questions is YES, then you are right,
and nothing else is needed.



More information about the Gnutls-devel mailing list