From 68488b4a5329e8640f02b51306e006e5b7467fe0 Mon Sep 17 00:00:00 2001 From: serassio <> Date: Sat, 3 Dec 2005 22:13:51 +0000 Subject: [PATCH] Allow the build using VisualStudio 2005 when LEAKFINDER is not defined. --- src/LeakFinder.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.47.3