summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 313cea6e2..396bd8251 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