]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Add defines for debug builds in win-pre.in
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Mon, 21 May 2012 12:09:05 +0000 (08:09 -0400)
committerBen Kaduk <kaduk@mit.edu>
Fri, 24 Aug 2012 19:53:36 +0000 (15:53 -0400)
define DEBUG and _CRTDBG_MAP_ALLOC except for NODEBUG builds

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7259 (new)
queue: kfw
target_version: 1.10.4
tags: pullup

src/config/win-pre.in

index 313cea6e2c9a61a7e40fe0ee1528a839309766e5..396bd82519612db1b991606ce52cb0370d9346f9 100644 (file)
@@ -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