summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 13:56:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 13:56:34 (GMT)
commit5db5b84aef875d43e4027dad7061601b7a00bd29 (patch)
tree453940d2929262c1a2b7f6ecbc5452ab082697d8
parent5ad300bf4aa456914215c358584488170220f8d5 (diff)
parent9ed525256bd289a96f4960aa566f811a5d529ae9 (diff)
downloadtcl-5db5b84aef875d43e4027dad7061601b7a00bd29.zip
tcl-5db5b84aef875d43e4027dad7061601b7a00bd29.tar.gz
tcl-5db5b84aef875d43e4027dad7061601b7a00bd29.tar.bz2
Merge 8.7
-rw-r--r--generic/tcl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 0452b5a..0e66d0c 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -47,7 +47,12 @@ extern "C" {
* unix/tcl.spec (1 LOC patch)
*/
+#if !defined(TCL_MAJOR_VERSION)
#define TCL_MAJOR_VERSION 9
+#endif
+#if TCL_MAJOR_VERSION != 9
+#error "This header-file is for Tcl 9 only"
+#endif
#define TCL_MINOR_VERSION 0
#define TCL_RELEASE_LEVEL TCL_ALPHA_RELEASE
#define TCL_RELEASE_SERIAL 4