diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-28 16:58:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-28 16:58:31 +0300 |
commit | 792c41011b27870504fcc1f9f4f1384918e0b608 (patch) | |
tree | 3113582d6da16209832157241cfef0653e016207 /src/debug/debug_new.cpp | |
parent | 4ec1478b8f93b4d2557fa55dca875b77894c71b5 (diff) | |
download | manaverse-792c41011b27870504fcc1f9f4f1384918e0b608.tar.gz manaverse-792c41011b27870504fcc1f9f4f1384918e0b608.tar.bz2 manaverse-792c41011b27870504fcc1f9f4f1384918e0b608.tar.xz manaverse-792c41011b27870504fcc1f9f4f1384918e0b608.zip |
Totally disable memory leak detector if it not enabled.
Diffstat (limited to 'src/debug/debug_new.cpp')
-rw-r--r-- | src/debug/debug_new.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug/debug_new.cpp b/src/debug/debug_new.cpp index 3545af60a..98c44264e 100644 --- a/src/debug/debug_new.cpp +++ b/src/debug/debug_new.cpp @@ -39,6 +39,7 @@ * */ +#ifdef ENABLE_MEM_DEBUG #include <new> #include <assert.h> #include <limits.h> @@ -850,3 +851,5 @@ __debug_new_counter::~__debug_new_counter() #endif } } + +#endif |