summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-04-11 21:03:49 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-04-11 21:03:49 (GMT)
commit15ad4e556a214a1529989308148db9942d8fb8b0 (patch)
tree437ec18665aa5e9e0a85d4c2a4b7e0428155441b /mac
parent8dfa6906c30e2cc2c430e05e5463932458c19ee8 (diff)
parentfd792c9f458c4366e1ebc367e45cf7e50a0637ea (diff)
downloadtcl-15ad4e556a214a1529989308148db9942d8fb8b0.zip
tcl-15ad4e556a214a1529989308148db9942d8fb8b0.tar.gz
tcl-15ad4e556a214a1529989308148db9942d8fb8b0.tar.bz2
merge trunk
FossilOrigin-Name: f12b1e1a8a1290d3fe94a75bd52cd85aac82e214
Diffstat (limited to 'mac')
-rw-r--r--mac/tclMacPanic.c2
-rw-r--r--mac/tclMacSock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mac/tclMacPanic.c b/mac/tclMacPanic.c
index f39c4ea..4f1f97f 100644
--- a/mac/tclMacPanic.c
+++ b/mac/tclMacPanic.c
@@ -161,7 +161,7 @@ TclpPanic TCL_VARARGS_DEF(CONST char *, format)
CloseWindow(macWinPtr);
exitNow:
-#ifdef TCL_DEBUG
+#ifndef NDEBUG
Debugger();
#else
abort();
diff --git a/mac/tclMacSock.c b/mac/tclMacSock.c
index f2bd171..35ecf9a 100644
--- a/mac/tclMacSock.c
+++ b/mac/tclMacSock.c
@@ -37,7 +37,7 @@ static int initialized = 0;
* and most code should handle such errors ok.
*/
-#ifndef TCL_DEBUG
+#ifdef NDEBUG
#define Debugger()
#endif