summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/misc/util/abc_global.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/misc/util/abc_global.h b/src/misc/util/abc_global.h
index e3b01c2c..56817092 100644
--- a/src/misc/util/abc_global.h
+++ b/src/misc/util/abc_global.h
@@ -53,14 +53,6 @@
#define ABC_DLL ABC_DLLIMPORT
#endif
-// catch memory leaks in Visual Studio
-#ifdef WIN32
- #ifdef _DEBUG
- #define _CRTDBG_MAP_ALLOC
- #include <crtdbg.h>
- #endif
-#endif
-
#if !defined(___unused)
#if defined(__GNUC__)
#define ___unused __attribute__ ((__unused__))
@@ -84,6 +76,14 @@
#include <stdio.h>
#include <string.h>
+// catch memory leaks in Visual Studio
+#ifdef WIN32
+ #ifdef _DEBUG
+ #define _CRTDBG_MAP_ALLOC
+ #include <crtdbg.h>
+ #endif
+#endif
+
////////////////////////////////////////////////////////////////////////
/// NAMESPACES ///
////////////////////////////////////////////////////////////////////////