21 lines
385 B
C
21 lines
385 B
C
#ifndef debugH
|
|
#define debugH
|
|
|
|
#if defined( __WXMSW__ )
|
|
/*
|
|
//#define _DEBUG
|
|
#define _CRTDBG_MAP_ALLOC
|
|
|
|
#include <stdlib.h>
|
|
#include <crtdbg.h>
|
|
#ifdef _DEBUG
|
|
#ifdef _CRTDBG_MAP_ALLOC
|
|
#define new new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
|
#endif // _CRTDBG_MAP_ALLOC
|
|
#endif // _DEBUG
|
|
*/
|
|
#endif // __WXMSW__
|
|
//-------------------------------------------------------------------------
|
|
|
|
#endif
|