diff options
author | crupest <crupest@outlook.com> | 2018-11-25 23:11:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-25 23:11:06 +0800 |
commit | b88992fd00df7b8c243bc0e7d577ef2aa9437c3f (patch) | |
tree | b67d2be76343d4948b5b7fb57f80ec3d3a379ca7 /src/pre.hpp | |
parent | 22322daf6f51da53740ff95ef2eaceed9a6efcae (diff) | |
download | cru-b88992fd00df7b8c243bc0e7d577ef2aa9437c3f.tar.gz cru-b88992fd00df7b8c243bc0e7d577ef2aa9437c3f.tar.bz2 cru-b88992fd00df7b8c243bc0e7d577ef2aa9437c3f.zip |
Reorganize headers and add memory leak check.
Diffstat (limited to 'src/pre.hpp')
-rw-r--r-- | src/pre.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/pre.hpp b/src/pre.hpp new file mode 100644 index 00000000..03c51a94 --- /dev/null +++ b/src/pre.hpp @@ -0,0 +1,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 |