summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 19:19:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 19:19:55 (GMT)
commitf05db2499a1f26791588140d9c283f7ee8e7c23a (patch)
treed9f05afa9420890334339deb59874ee16d0dcc2e /mac
parent35931d9a7cb0477591913a5a95bc958f75fbded8 (diff)
downloadtcl-f05db2499a1f26791588140d9c283f7ee8e7c23a.zip
tcl-f05db2499a1f26791588140d9c283f7ee8e7c23a.tar.gz
tcl-f05db2499a1f26791588140d9c283f7ee8e7c23a.tar.bz2
[Bug 3448512]: clock scan "1958-01-01" fails only in debug compilation
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