summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-05-21 08:09:05 -0400
committerBen Kaduk <kaduk@mit.edu>2012-08-24 15:53:36 -0400
commit768628d32f42027de9e591b2ef21d18bcb82f061 (patch)
treef1d3d4726f73b28fbeb4758fd9f14d8c0232a037 /src
parent6a4d85a234d08492ce832b90c7a9687f6f120760 (diff)
downloadkrb5-768628d32f42027de9e591b2ef21d18bcb82f061.tar.gz
krb5-768628d32f42027de9e591b2ef21d18bcb82f061.tar.xz
krb5-768628d32f42027de9e591b2ef21d18bcb82f061.zip
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@painless-security.com> ticket: 7259 (new) queue: kfw target_version: 1.10.4 tags: pullup
Diffstat (limited to 'src')
-rw-r--r--src/config/win-pre.in4
1 files changed, 4 insertions, 0 deletions
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