mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-26 15:20:21 +01:00
Memory tracking now enabled by default in MSVC debug builds.
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
|
||||
|
||||
#include <wx/wx.h>
|
||||
#include <wx/bitmap.h>
|
||||
#include <wx/filedlg.h>
|
||||
@@ -76,11 +79,9 @@
|
||||
// #include <wx/msw/msvcrt.h> // redefines the new() operator
|
||||
//#endif
|
||||
|
||||
#if 0
|
||||
#define _DEBUG
|
||||
#if __WXMSW__
|
||||
#ifdef _DEBUG
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#include <stdlib.h>
|
||||
#include <crtdbg.h>
|
||||
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
||||
#define new DEBUG_NEW
|
||||
|
||||
Reference in New Issue
Block a user