diff options
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/extra/extra.h | 2 | ||||
-rw-r--r-- | src/misc/vec/vec.h | 2 |
2 files changed, 4 insertions, 0 deletions
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 <stdio.h> #include <stdlib.h> 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 /// |