summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclStubLib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index d09ab2b..55001cf 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -62,6 +62,8 @@ Tcl_InitStubs(
const TclStubs *stubsPtr = iPtr->stubTable;
const char *tclName = (((exact&0xFF00) >= 0x900) ? "tcl" : "Tcl");
+#undef TCL_STUB_MAGIC /* We need the TCL_STUB_MAGIC from Tcl 8.x here */
+#define TCL_STUB_MAGIC ((int) 0xFCA3BACF)
/*
* We can't optimize this check by caching tclStubsPtr because that
* prevents apps from being able to load/unload Tcl dynamically multiple