From: serassio <> Date: Sat, 3 Dec 2005 22:13:51 +0000 (+0000) Subject: Allow the build using VisualStudio 2005 when LEAKFINDER is not defined. X-Git-Tag: SQUID_3_0_PRE4~468 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68488b4a5329e8640f02b51306e006e5b7467fe0;p=thirdparty%2Fsquid.git Allow the build using VisualStudio 2005 when LEAKFINDER is not defined. --- diff --git a/src/LeakFinder.cc b/src/LeakFinder.cc index e865640d79..fc744854c3 100644 --- a/src/LeakFinder.cc +++ b/src/LeakFinder.cc @@ -1,6 +1,6 @@ /* - * $Id: LeakFinder.cc,v 1.1 2005/11/21 22:41:45 wessels Exp $ + * $Id: LeakFinder.cc,v 1.2 2005/12/03 15:13:51 serassio Exp $ * * DEBUG: section 45 Callback Data Registry * AUTHOR: Duane Wessels @@ -41,6 +41,7 @@ #include "LeakFinder.h" #include "Store.h" +#if USE_LEAKFINDER /* ========================================================================= */ LeakFinderPtr::LeakFinderPtr(void *p , const char *f, const int l) : @@ -138,3 +139,5 @@ LeakFinder::dump() c->key, (int)(squid_curtime - c->when), c->file, c->line); } } + +#endif /* USE_LEAKFINDER */