summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 21:03:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 21:03:49 (GMT)
commitbd36f63f8d6cf4129fd3af94e276b4ad9987562e (patch)
tree437ec18665aa5e9e0a85d4c2a4b7e0428155441b /mac
parent51a4b5f8807bc1e0df2e06087292df90c7777f50 (diff)
parentf05db2499a1f26791588140d9c283f7ee8e7c23a (diff)
downloadtcl-bd36f63f8d6cf4129fd3af94e276b4ad9987562e.zip
tcl-bd36f63f8d6cf4129fd3af94e276b4ad9987562e.tar.gz
tcl-bd36f63f8d6cf4129fd3af94e276b4ad9987562e.tar.bz2
merge core-8-4-branch
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