summaryrefslogtreecommitdiffstats
path: root/generic/tclPanic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 12:55:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 12:55:59 (GMT)
commitc576cbec93fdeaba19970c8f94a26d68c9cc4454 (patch)
tree7c4312eacbc921feb888e783a5537487d0b884a3 /generic/tclPanic.c
parenta69614b432b2cf0d9fdeb9afcff304bad9b9e51e (diff)
parent556dc3036e36d2449fe4feaece94487adfd745b8 (diff)
downloadtcl-c576cbec93fdeaba19970c8f94a26d68c9cc4454.zip
tcl-c576cbec93fdeaba19970c8f94a26d68c9cc4454.tar.gz
tcl-c576cbec93fdeaba19970c8f94a26d68c9cc4454.tar.bz2
merge core-8-branch. Fully functioning now, including with the new vc-reform implementation.
Diffstat (limited to 'generic/tclPanic.c')
-rw-r--r--generic/tclPanic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclPanic.c b/generic/tclPanic.c
index b03ad41..b50271b 100644
--- a/generic/tclPanic.c
+++ b/generic/tclPanic.c
@@ -23,7 +23,7 @@
* procedure.
*/
-#if defined(__CYGWIN__)
+#if defined(__CYGWIN__) || (defined(_WIN32) && (defined(TCL_NO_DEPRECATED) || TCL_MAJOR_VERSION > 8))
static TCL_NORETURN Tcl_PanicProc *panicProc = tclWinDebugPanic;
#else
static TCL_NORETURN1 Tcl_PanicProc *panicProc = NULL;