From: Mark Andrews Date: Tue, 24 Nov 2009 02:14:17 +0000 (+0000) Subject: 2782. [port] win32: use getaddrinfo() for hostname lookups. X-Git-Tag: v9.5.2-P1~1^8~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f6ee6da34eef02a4fd69c54417767a56ff5fad9;p=thirdparty%2Fbind9.git 2782. [port] win32: use getaddrinfo() for hostname lookups. [RT #20650] --- diff --git a/CHANGES b/CHANGES index 26cd217a8e8..cba11b12ccd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2782. [port] win32: use getaddrinfo() for hostname lookups. + [RT #20650] + 2777. [contrib] DLZ MYSQL auto reconnect support discovery was wrong. 2772. [security] When validating, track whether pending data was from diff --git a/config.h.win32 b/config.h.win32 index 7e77ba93805..332852df3e8 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: config.h.win32,v 1.16.130.2 2008/04/02 23:46:28 tbox Exp $ */ +/* $Id: config.h.win32,v 1.16.130.3 2009/11/24 02:14:17 marka Exp $ */ /* * win32 configuration file @@ -227,5 +227,15 @@ typedef long off_t; * macro is used there. */ + +/** define if struct addrinfo exists */ +#define HAVE_ADDRINFO + +/** define if getaddrinfo() exists */ +#define HAVE_GETADDRINFO + +/** define if gai_strerror() exists */ +#define HAVE_GAISTRERROR + #define FD_SETSIZE 16384 #include