Nmap Development mailing list archives

Re: [Patch] IPv6 and MingW


From: Fyodor <fyodor () insecure org>
Date: Tue, 24 Jan 2006 12:34:52 -0800

On Tue, Jan 24, 2006 at 09:29:55PM +0100, Gisle Vanem wrote:
Building with HAVE_IPV6 on MingW causes some problems;

* gai_strerror() (actually gai_strerrorA()) is prototyped in <ws2tcpip.h>,
 but implemented nowhere. So nbase/getaddrinfo.c must include the
 code unconditionally.

* ENOSPC is in <errno.h>, but the IMHO silly hack to prevent including
 <errno.h>  (#define _ERRNO_H_ in nbase_winunix.h), fails to compile
 nbase/inet_ntop.c. #ifndef around it. Another option would be to add
 -DENOSPC=28 to the CFLAGS.

Thanks, applied for the next version.

Cheers,
-F


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: