blob: 6ec1ffcc2deaa3f51b47bf240fb0472662303bf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "cru/win/WinPreConfig.hpp"
#include "cru/platform/HeapDebug.hpp"
#include <crtdbg.h>
namespace cru::platform {
void SetupHeapDebug() {
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
}
}
|