summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/vec/vec.h')
-rw-r--r--src/misc/vec/vec.h2
1 files changed, 2 insertions, 0 deletions
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 ///