krb5 commit: Add defines for debug builds in win-pre.in
Benjamin Kaduk
kaduk at MIT.EDU
Fri Aug 24 15:55:21 EDT 2012
https://github.com/krb5/krb5/commit/768628d32f42027de9e591b2ef21d18bcb82f061
commit 768628d32f42027de9e591b2ef21d18bcb82f061
Author: Kevin Wasserman <kevin.wasserman at painless-security.com>
Date: Mon May 21 08:09:05 2012 -0400
Add defines for debug builds in win-pre.in
define DEBUG and _CRTDBG_MAP_ALLOC except for NODEBUG builds
Signed-off-by: Kevin Wasserman <kevin.wasserman at painless-security.com>
ticket: 7259 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
src/config/win-pre.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/config/win-pre.in b/src/config/win-pre.in
index 313cea6..396bd82 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
More information about the cvs-krb5
mailing list