summaryrefslogtreecommitdiffstats
path: root/generic/tclPanic.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-08-14 18:44:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-08-14 18:44:51 (GMT)
commit1f563ae9a011345574fb277fe6e8eb7f58916981 (patch)
tree91e5021d194cf249b14156bcd8d1560dce949c2c /generic/tclPanic.c
parent6f7f64c938f98f268b7e606cf668c40ca66e98c9 (diff)
parent2b3657769b1d0b9ae6e10113b1d3c038b4967899 (diff)
downloadtcl-bug_3610404.zip
tcl-bug_3610404.tar.gz
tcl-bug_3610404.tar.bz2
merge trunkbug_3610404
Diffstat (limited to 'generic/tclPanic.c')
-rw-r--r--generic/tclPanic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclPanic.c b/generic/tclPanic.c
index b87a8df..2a453b9 100644
--- a/generic/tclPanic.c
+++ b/generic/tclPanic.c
@@ -52,6 +52,10 @@ Tcl_SetPanicProc(
#if defined(_WIN32)
/* tclWinDebugPanic only installs if there is no panicProc yet. */
if ((proc != tclWinDebugPanic) || (panicProc == NULL))
+#elif defined(__CYGWIN__)
+ if (proc == NULL)
+ panicProc = tclWinDebugPanic;
+ else
#endif
panicProc = proc;
}