From: serassio <> Date: Sat, 2 Sep 2006 21:37:29 +0000 (+0000) Subject: Windows port: Tricks for fd<=> socket equivalence need the usage of a C++ namespace X-Git-Tag: SQUID_3_0_PRE5~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15443eec393f0201468129e9a81520e9ca581ef7;p=thirdparty%2Fsquid.git Windows port: Tricks for fd<=> socket equivalence need the usage of a C++ namespace --- 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