From: Kevin Wasserman Date: Mon, 21 May 2012 12:09:05 +0000 (-0400) Subject: Add defines for debug builds in win-pre.in X-Git-Tag: krb5-1.11-alpha1~285 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=768628d32f42027de9e591b2ef21d18bcb82f061;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/config/win-pre.in b/src/config/win-pre.in index 313cea6e2c..396bd82519 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