From f936cc0680c98ffe51b3a1716c996072d5dbf76c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 18 Jan 2009 08:01:00 -0800 Subject: Version abc90118 --- src/misc/vec/vec.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/misc/vec') diff --git a/src/misc/vec/vec.h b/src/misc/vec/vec.h index 4c19b5ee..67ec44aa 100644 --- a/src/misc/vec/vec.h +++ b/src/misc/vec/vec.h @@ -48,10 +48,10 @@ typedef long long sint64; /// INCLUDES /// //////////////////////////////////////////////////////////////////////// -// this include should be the first one in the list -// it is used to catch memory leaks on Windows -#if defined(_DEBUG) && defined(_MSC_VER) && (_MSC_VER <= 1200) // 1200 = MSVC 6.0 -#include "leaks.h" +// catch memory leaks in Visual Studio +#ifdef _DEBUG +#define _CRTDBG_MAP_ALLOC +#include #endif //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3