From aa546b46d9051470e06457e820b0aa6f668c5bef Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 16 Oct 2015 19:27:12 -0700 Subject: Fix to the #include problem for Debug version on Window. --- src/misc/util/abc_global.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/misc') 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 - #endif -#endif - #if !defined(___unused) #if defined(__GNUC__) #define ___unused __attribute__ ((__unused__)) @@ -84,6 +76,14 @@ #include #include +// catch memory leaks in Visual Studio +#ifdef WIN32 + #ifdef _DEBUG + #define _CRTDBG_MAP_ALLOC + #include + #endif +#endif + //////////////////////////////////////////////////////////////////////// /// NAMESPACES /// //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3