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