From 768628d32f42027de9e591b2ef21d18bcb82f061 Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Mon, 21 May 2012 08:09:05 -0400 Subject: Add defines for debug builds in win-pre.in define DEBUG and _CRTDBG_MAP_ALLOC except for NODEBUG builds Signed-off-by: Kevin Wasserman ticket: 7259 (new) queue: kfw target_version: 1.10.4 tags: pullup --- src/config/win-pre.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/config/win-pre.in b/src/config/win-pre.in index 313cea6e2..396bd8251 100644 --- a/src/config/win-pre.in +++ b/src/config/win-pre.in @@ -125,7 +125,11 @@ DNSFLAGS= TIME_T_FLAGS=-D_USE_32BIT_TIME_T !endif +!if defined (NODEBUG) KFWFLAGS=-DUSE_LEASH=1 +!else +KFWFLAGS=-DUSE_LEASH=1 -DDEBUG -D_CRTDBG_MAP_ALLOC +!endif # # The name of the C compiler for the target -- cgit