19 lines
249 B
C
19 lines
249 B
C
|
#pragma once
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
|
||
|
#ifdef _DEBUG
|
||
|
|
||
|
#define _CRTDBG_MAP_ALLOC
|
||
|
#include <stdlib.h>
|
||
|
#include <crtdbg.h>
|
||
|
|
||
|
#ifndef DEBUG_NEW
|
||
|
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
||
|
#define new DEBUG_NEW
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif
|