summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/debug/debug_new.cpp3
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