mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-12 15:46:25 +01:00
Don't start logging window in debug builds under windows (we use the MSVC debugger window instead).
Added (commented out) memory leak detection to AudacityHeaders.h
This commit is contained in:
@@ -72,3 +72,18 @@
|
||||
#include "widgets/ProgressDialog.h"
|
||||
#include "widgets/Ruler.h"
|
||||
|
||||
//#ifdef __WXMSW__
|
||||
// Enable this to diagnose memory leaks too!
|
||||
// #include <wx/msw/msvcrt.h> // redefines the new() operator
|
||||
//#endif
|
||||
|
||||
#if 0
|
||||
#define _DEBUG
|
||||
#ifdef _DEBUG
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#include <stdlib.h>
|
||||
#include <crtdbg.h>
|
||||
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
||||
#define new DEBUG_NEW
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user