summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
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