summaryrefslogtreecommitdiffstats
path: root/generic/tk.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-15 11:34:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-15 11:34:29 (GMT)
commit2cc65fad86e001750a13b38fe05f2e1d8e9096cb (patch)
treebfc625a2d71cd3c7b1efa26ba11070622ac3a91a /generic/tk.h
parentfe5133500ae8f53c73abe7ead918f29100cb9aca (diff)
downloadtk-2cc65fad86e001750a13b38fe05f2e1d8e9096cb.zip
tk-2cc65fad86e001750a13b38fe05f2e1d8e9096cb.tar.gz
tk-2cc65fad86e001750a13b38fe05f2e1d8e9096cb.tar.bz2
Make tk.h usable for compilation with Tcl 9.0 (novem) as well.
Diffstat (limited to 'generic/tk.h')
-rw-r--r--generic/tk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tk.h b/generic/tk.h
index f51d793..9403f31 100644
--- a/generic/tk.h
+++ b/generic/tk.h
@@ -17,7 +17,7 @@
#define _TK
#include <tcl.h>
-#if (TCL_MAJOR_VERSION != 8) || (TCL_MINOR_VERSION < 6)
+#if (TCL_MAJOR_VERSION < 8) || (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6)
# error Tk 8.7 must be compiled with tcl.h from Tcl 8.6 or better
#endif