summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2016-01-21 06:11:02 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2016-01-21 06:11:02 (GMT)
commitc5e85332620338a73f7ecd6ef33c2d0bd89a0652 (patch)
tree1cb178fd4ce33b126e0fe655c92d2b6306fbb4f3 /generic
parent003b3000368a5f8752fcee1444cf4ec1cee6fe62 (diff)
downloadtcl-tip_440_backport.zip
tcl-tip_440_backport.tar.gz
tcl-tip_440_backport.tar.bz2
Backport of TIP #440.tip_440_backport
Diffstat (limited to 'generic')
-rw-r--r--generic/tclBasic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 89d6b8f..44cf543 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -790,6 +790,13 @@ Tcl_CreateInterp(void)
TclInitEmbeddedConfigurationInformation(interp);
/*
+ * TIP #440: Declare the name of the script engine to be "Tcl".
+ */
+
+ Tcl_SetVar2(interp, "tcl_platform", "engine", "Tcl",
+ TCL_GLOBAL_ONLY);
+
+ /*
* Compute the byte order of this machine.
*/