From: serassio <> Date: Wed, 2 Nov 2005 04:05:16 +0000 (+0000) Subject: Allow dns_internal.cc to build on MinGW. X-Git-Tag: SQUID_3_0_PRE4~558 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ea84e89cfd243a3cfffd629ccf6afed65e9a36c;p=thirdparty%2Fsquid.git Allow dns_internal.cc to build on MinGW. --- diff --git a/src/dns_internal.cc b/src/dns_internal.cc index 4f27cbe98a..b7a1d6b531 100644 --- a/src/dns_internal.cc +++ b/src/dns_internal.cc @@ -1,6 +1,6 @@ /* - * $Id: dns_internal.cc,v 1.83 2005/09/25 20:25:56 hno Exp $ + * $Id: dns_internal.cc,v 1.84 2005/11/01 21:05:16 serassio Exp $ * * DEBUG: section 78 DNS lookups; interacts with lib/rfc1035.c * AUTHOR: Duane Wessels @@ -156,7 +156,9 @@ static hash_table *idns_lookup_hash = NULL; static OBJH idnsStats; static void idnsAddNameserver(const char *buf); +#ifndef _SQUID_MSWIN_ static void idnsAddPathComponent(const char *buf); +#endif static void idnsFreeNameservers(void); static void idnsFreeSearchpath(void); static void idnsParseNameservers(void); @@ -222,6 +224,7 @@ idnsAddNameserver(const char *buf) nns++; } +#ifndef _SQUID_MSWIN_ static void idnsAddPathComponent(const char *buf) { @@ -250,6 +253,8 @@ idnsAddPathComponent(const char *buf) npc++; } +#endif + static void idnsFreeNameservers(void) {