mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +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 <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <wx/wx.h>
|
#include <wx/wx.h>
|
||||||
#include <wx/bitmap.h>
|
#include <wx/bitmap.h>
|
||||||
#include <wx/filedlg.h>
|
#include <wx/filedlg.h>
|
||||||
@@ -76,11 +79,9 @@
|
|||||||
// #include <wx/msw/msvcrt.h> // redefines the new() operator
|
// #include <wx/msw/msvcrt.h> // redefines the new() operator
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
#if 0
|
#if __WXMSW__
|
||||||
#define _DEBUG
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#define _CRTDBG_MAP_ALLOC
|
#define _CRTDBG_MAP_ALLOC
|
||||||
#include <stdlib.h>
|
|
||||||
#include <crtdbg.h>
|
#include <crtdbg.h>
|
||||||
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
||||||
#define new DEBUG_NEW
|
#define new DEBUG_NEW
|
||||||
|
|||||||
Reference in New Issue
Block a user