From d63a0cbbfd3979bb1423946fd1853411fbc66210 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 17 Jul 2008 08:01:00 -0700 Subject: Version abc80717 --- src/misc/extra/extra.h | 2 ++ src/misc/vec/vec.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/misc') diff --git a/src/misc/extra/extra.h b/src/misc/extra/extra.h index 6b840024..f45afcbe 100644 --- a/src/misc/extra/extra.h +++ b/src/misc/extra/extra.h @@ -43,7 +43,9 @@ extern "C" { // this include should be the first one in the list // it is used to catch memory leaks on Windows +#ifdef ABC_CHECK_LEAKS #include "leaks.h" +#endif #include #include diff --git a/src/misc/vec/vec.h b/src/misc/vec/vec.h index ee82fc3e..03de79f1 100644 --- a/src/misc/vec/vec.h +++ b/src/misc/vec/vec.h @@ -50,7 +50,9 @@ typedef long long sint64; // this include should be the first one in the list // it is used to catch memory leaks on Windows +#ifdef ABC_CHECK_LEAKS #include "leaks.h" +#endif //////////////////////////////////////////////////////////////////////// /// MACRO DEFINITIONS /// -- cgit v1.2.3