1
0
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:
james.k.crook@gmail.com
2014-01-13 20:35:29 +00:00
parent d847bd1d66
commit 0e7e4dbd86

View File

@@ -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