]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Allow the build using VisualStudio 2005 when LEAKFINDER is not defined.
authorserassio <>
Sat, 3 Dec 2005 22:13:51 +0000 (22:13 +0000)
committerserassio <>
Sat, 3 Dec 2005 22:13:51 +0000 (22:13 +0000)
src/LeakFinder.cc

index e865640d791429bb8b1ee34295306bc923879709..fc744854c3fd7c22be0fe1e92957cc634ff667ca 100644 (file)
@@ -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 */