Files
SAPFOR/Sapfor/_src/Utils/leak_detector.h

18 lines
267 B
C
Raw Normal View History

2023-09-14 19:43:13 +03:00
#pragma once
#ifdef _WIN32
#ifdef _LEAK_
//_DEBUG
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#ifndef DBG_NEW
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
#define new DBG_NEW
#endif
#endif
#endif