]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows port: Tricks for fd<=> socket equivalence need the usage of a C++ namespace
authorserassio <>
Sat, 2 Sep 2006 21:37:29 +0000 (21:37 +0000)
committerserassio <>
Sat, 2 Sep 2006 21:37:29 +0000 (21:37 +0000)
src/squid.h
tools/squidclient.cc

index 222530a98dd81187c6c0c0a0b97ce40b66ffb67e..b40541f1e4d56fcdb5d48f5971ba67d4455e3b49 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: squid.h,v 1.257 2006/08/28 10:03:42 serassio Exp $
+ * $Id: squid.h,v 1.258 2006/09/02 15:37:29 serassio Exp $
  *
  * AUTHOR: Duane Wessels
  *
 
 #include "config.h"
 
+#ifdef _SQUID_MSWIN_
+using namespace Squid;
+#endif
+
 #include "assert.h"
 
 #if HAVE_UNISTD_H
index 690dbe79deed94d0877ad1ee1e686cb31b2d3ca2..21fbd7477bf05cad9431350e0ca1a65e2def6b64 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: squidclient.cc,v 1.6 2006/05/28 16:11:38 serassio Exp $
+ * $Id: squidclient.cc,v 1.7 2006/09/02 15:37:29 serassio Exp $
  *
  * DEBUG: section 0     WWW Client
  * AUTHOR: Harvest Derived
 
 #include "config.h"
 
+#ifdef _SQUID_MSWIN_
+using namespace Squid;
+#endif
+
 #ifdef _SQUID_WIN32_
 #include <io.h>
 #endif