--------------------- PatchSet 2030 Date: 2005/10/30 20:35:06 Author: serassio Branch: nt Tag: (none) Log: Allow build on MinGW Members: src/dns_internal.cc:1.7.2.17->1.7.2.18 Index: squid3/src/dns_internal.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/dns_internal.cc,v retrieving revision 1.7.2.17 retrieving revision 1.7.2.18 diff -u -r1.7.2.17 -r1.7.2.18 --- squid3/src/dns_internal.cc 1 Oct 2005 08:24:56 -0000 1.7.2.17 +++ squid3/src/dns_internal.cc 30 Oct 2005 20:35:06 -0000 1.7.2.18 @@ -1,6 +1,6 @@ /* - * $Id: dns_internal.cc,v 1.7.2.17 2005/10/01 08:24:56 serassio Exp $ + * $Id: dns_internal.cc,v 1.7.2.18 2005/10/30 20:35:06 serassio Exp $ * * DEBUG: section 78 DNS lookups; interacts with lib/rfc1035.c * AUTHOR: Duane Wessels @@ -156,7 +156,9 @@ 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 @@ nns++; } +#ifndef _SQUID_MSWIN_ static void idnsAddPathComponent(const char *buf) { @@ -249,6 +252,7 @@ npc, searchpath[npc].domain); npc++; } +#endif static void idnsFreeNameservers(void)