summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 16:27:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 16:27:19 (GMT)
commit59f20f23bdf80b9aa0106269a64e16715a0deb2c (patch)
tree1c09e78560216f9c0d9d708bca172ef4dd93cc6b /generic/tcl.h
parentc0d3b18e36ba15b38e066951ddf5adaf995be0d0 (diff)
parent292c03d1c289ed9aae8eac6aba53c1857e4bf90d (diff)
downloadtcl-59f20f23bdf80b9aa0106269a64e16715a0deb2c.zip
tcl-59f20f23bdf80b9aa0106269a64e16715a0deb2c.tar.gz
tcl-59f20f23bdf80b9aa0106269a64e16715a0deb2c.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 44ea473..b55a295 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -99,6 +99,7 @@ extern "C" {
*/
#include <stdio.h>
+#include <stddef.h>
#if defined(__GNUC__) && (__GNUC__ > 2)
# if defined(_WIN32) && defined(__USE_MINGW_ANSI_STDIO) && __USE_MINGW_ANSI_STDIO
@@ -976,7 +977,7 @@ struct Tcl_HashEntry {
Tcl_HashEntry *nextPtr; /* Pointer to next entry in this hash bucket,
* or NULL for end of chain. */
Tcl_HashTable *tablePtr; /* Pointer to table containing entry. */
- size_t hash; /* Hash value. */
+ TCL_HASH_TYPE hash; /* Hash value. */
void *clientData; /* Application stores something here with
* Tcl_SetHashValue. */
union { /* Key has one of these forms: */