]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Allow dns_internal.cc to build on MinGW.
authorserassio <>
Wed, 2 Nov 2005 04:05:16 +0000 (04:05 +0000)
committerserassio <>
Wed, 2 Nov 2005 04:05:16 +0000 (04:05 +0000)
src/dns_internal.cc

index 4f27cbe98a6722e0d8cde93b5cd33625657ef01c..b7a1d6b53165713aef36f03de3e7c046a5684536 100644 (file)
@@ -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)
 {