From 0e7e4dbd866272e859a24bf09db66918961dd01f Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Mon, 13 Jan 2014 20:35:29 +0000 Subject: [PATCH] Memory tracking now enabled by default in MSVC debug builds. --- src/AudacityHeaders.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/AudacityHeaders.h b/src/AudacityHeaders.h index aacf0ee3f..ca1132480 100644 --- a/src/AudacityHeaders.h +++ b/src/AudacityHeaders.h @@ -24,6 +24,9 @@ #include #include + + + #include #include #include @@ -76,11 +79,9 @@ // #include // redefines the new() operator //#endif -#if 0 -#define _DEBUG +#if __WXMSW__ #ifdef _DEBUG #define _CRTDBG_MAP_ALLOC -#include #include #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) #define new DEBUG_NEW