diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-11 19:19:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-11 19:19:55 (GMT) |
commit | f05db2499a1f26791588140d9c283f7ee8e7c23a (patch) | |
tree | d9f05afa9420890334339deb59874ee16d0dcc2e /mac | |
parent | 35931d9a7cb0477591913a5a95bc958f75fbded8 (diff) | |
download | tcl-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.c | 2 | ||||
-rw-r--r-- | mac/tclMacSock.c | 2 |
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 |