summaryrefslogtreecommitdiffstats
path: root/generic/tkMain.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-03-28 07:36:44 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-03-28 07:36:44 (GMT)
commit39da3a9b5b2c6a89c95cc9fcbc652fca1884d2dc (patch)
tree209d2a079e30e4becaca7dbdbdc4f8575328eb14 /generic/tkMain.c
parent540e640f28b56b0652fa1855bb304019e40716a8 (diff)
downloadtk-39da3a9b5b2c6a89c95cc9fcbc652fca1884d2dc.zip
tk-39da3a9b5b2c6a89c95cc9fcbc652fca1884d2dc.tar.gz
tk-39da3a9b5b2c6a89c95cc9fcbc652fca1884d2dc.tar.bz2
Easier solution, with proper protection and configure warnings.
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r--generic/tkMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c
index cb1fb5e..8bebb3d 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -135,7 +135,7 @@ Tk_MainEx(
* Ensure that we are getting a compatible version of Tcl.
*/
- if (Tcl_InitStubs(interp, "8.5.0", 0) == NULL) {
+ if (Tcl_InitStubs(interp, TCL_VERSION ".0", 0) == NULL) {
if (Tcl_InitStubs(interp, "8.1", 0) == NULL) {
abort();
} else {