summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-23 14:46:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-23 14:46:44 (GMT)
commit5a60ace74d3eabbb41d24ce1801f1f5e0358bd1e (patch)
tree6faa2b7f1341f1efe35fe13d07f77b94228eaa4e /generic/tclInt.h
parent24512e71313741b19aa4d362a8df7e38ee269ee7 (diff)
downloadtcl-5a60ace74d3eabbb41d24ce1801f1f5e0358bd1e.zip
tcl-5a60ace74d3eabbb41d24ce1801f1f5e0358bd1e.tar.gz
tcl-5a60ace74d3eabbb41d24ce1801f1f5e0358bd1e.tar.bz2
off-by-one in TCL_MAJOR_VERSION check
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 9ddc2a1..33f244d 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -224,9 +224,9 @@ typedef struct NamespacePathEntry NamespacePathEntry;
typedef struct TclVarHashTable {
Tcl_HashTable table;
struct Namespace *nsPtr;
-#if TCL_MAJOR_VERSION > 9
+#if TCL_MAJOR_VERSION > 8
struct Var *arrayPtr;
-#endif /* TCL_MAJOR_VERSION > 9 */
+#endif /* TCL_MAJOR_VERSION > 8 */
} TclVarHashTable;
/*