From 15443eec393f0201468129e9a81520e9ca581ef7 Mon Sep 17 00:00:00 2001 From: serassio <> Date: Sat, 2 Sep 2006 21:37:29 +0000 Subject: [PATCH] Windows port: Tricks for fd<=> socket equivalence need the usage of a C++ namespace --- src/squid.h | 6 +++++- tools/squidclient.cc | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/squid.h b/src/squid.h index 222530a98d..b40541f1e4 100644 --- a/src/squid.h +++ b/src/squid.h @@ -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 * @@ -37,6 +37,10 @@ #include "config.h" +#ifdef _SQUID_MSWIN_ +using namespace Squid; +#endif + #include "assert.h" #if HAVE_UNISTD_H diff --git a/tools/squidclient.cc b/tools/squidclient.cc index 690dbe79de..21fbd7477b 100644 --- a/tools/squidclient.cc +++ b/tools/squidclient.cc @@ -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 @@ -35,6 +35,10 @@ #include "config.h" +#ifdef _SQUID_MSWIN_ +using namespace Squid; +#endif + #ifdef _SQUID_WIN32_ #include #endif -- 2.47.2