первый
This commit is contained in:
20
lib/tcDebug.h
Normal file
20
lib/tcDebug.h
Normal file
@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user