aboutsummaryrefslogtreecommitdiff
path: root/src/pre.hpp
blob: 03c51a941e1a6af1125d196eaab3ed6b7d8ff0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#ifdef _DEBUG
#define CRU_DEBUG
#endif

#ifdef CRU_DEBUG
#define CRU_DEBUG_LAYOUT
#endif


#ifdef CRU_DEBUG
// ReSharper disable once IdentifierTypo
// ReSharper disable once CppInconsistentNaming
#define _CRTDBG_MAP_ALLOC
#include <cstdlib>
#include <crtdbg.h>
#endif