From 2ea84e89cfd243a3cfffd629ccf6afed65e9a36c Mon Sep 17 00:00:00 2001 From: serassio <> Date: Wed, 2 Nov 2005 04:05:16 +0000 Subject: [PATCH] Allow dns_internal.cc to build on MinGW. --- src/dns_internal.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) { -- 2.47.2