summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-03 14:55:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-03 14:55:19 (GMT)
commit97cf6a1affd8abe431bad7a2c560b434aa953354 (patch)
tree2f36d14fda93723a297bd314fd9d7a68cb5f35b8 /win
parentb5f118d8753139dcc5bd599f67373eca836500f8 (diff)
parent2e71e654f85f50f225f7c8ff495ce8e5380b02d2 (diff)
downloadtcl-97cf6a1affd8abe431bad7a2c560b434aa953354.zip
tcl-97cf6a1affd8abe431bad7a2c560b434aa953354.tar.gz
tcl-97cf6a1affd8abe431bad7a2c560b434aa953354.tar.bz2
Merge tip-548
Diffstat (limited to 'win')
-rw-r--r--win/nmakehlp.c2
-rw-r--r--win/tclWinInit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/nmakehlp.c b/win/nmakehlp.c
index c21de63..fac32ee 100644
--- a/win/nmakehlp.c
+++ b/win/nmakehlp.c
@@ -643,7 +643,7 @@ SubstituteFile(
}
/* debug: dump the list */
-#ifdef _DEBUG
+#ifndef NDEBUG
{
int n = 0;
list_item_t *p = NULL;
diff --git a/win/tclWinInit.c b/win/tclWinInit.c
index 934a2b5..7248a9e 100644
--- a/win/tclWinInit.c
+++ b/win/tclWinInit.c
@@ -543,7 +543,7 @@ TclpSetVariables(
TCL_GLOBAL_ONLY);
}
-#ifdef _DEBUG
+#ifndef NDEBUG
/*
* The existence of the "debug" element of the tcl_platform array
* indicates that this particular Tcl shell has been compiled with debug