]> 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)
committerTom Yu <tlyu@mit.edu>
Mon, 27 Aug 2012 23:27:33 +0000 (19:27 -0400)
define DEBUG and _CRTDBG_MAP_ALLOC except for NODEBUG builds

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 768628d32f42027de9e591b2ef21d18bcb82f061)

ticket: 7259
status: resolved

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