diff options
Diffstat (limited to 'converter/source/MemoryLeak.h')
-rw-r--r-- | converter/source/MemoryLeak.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/converter/source/MemoryLeak.h b/converter/source/MemoryLeak.h index 6ac06a302..2d62f2a4b 100644 --- a/converter/source/MemoryLeak.h +++ b/converter/source/MemoryLeak.h @@ -1,18 +1,18 @@ -#pragma once
-
-#ifdef _WIN32
-
-#ifdef _DEBUG
-
-#define _CRTDBG_MAP_ALLOC
-#include <stdlib.h>
-#include <crtdbg.h>
-
-#ifndef DEBUG_NEW
-#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
-#define new DEBUG_NEW
-#endif
-
-#endif
-
-#endif
+#pragma once + +#ifdef _WIN32 + +#ifdef _DEBUG + +#define _CRTDBG_MAP_ALLOC +#include <stdlib.h> +#include <crtdbg.h> + +#ifndef DEBUG_NEW +#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) +#define new DEBUG_NEW +#endif + +#endif + +#endif |