From 97cc4bf6722e0ae29afbba8a4ecb3f91e06556b3 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 27 Dec 2008 03:18:51 +0000 Subject: Place CRT debug defines in win32wrapper.h, so they are defined everywhere. This was also incorrectly inside an ifndef WINDOWS, and hadbeen for a while. (oops.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10917 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'win') diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 4bc364881..4c8658703 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -28,6 +28,13 @@ #define ENABLE_CRASHDUMPS 0 /* This defaults to 64, way too small for an ircd! */ +/* CRT memory debugging */ +#ifdef DEBUG +#define _CRTDBG_MAP_ALLOC +#include +#include +#endif + #define FD_SETSIZE 24000 /* Make builds smaller, leaner and faster */ -- cgit v1.2.3