aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tclsqlite.h')
-rw-r--r--src/tclsqlite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tclsqlite.h b/src/tclsqlite.h
index b9a948ef1..a9a126293 100644
--- a/src/tclsqlite.h
+++ b/src/tclsqlite.h
@@ -35,8 +35,8 @@
/* Compatability between Tcl8.6 and Tcl9.0 */
#if TCL_MAJOR_VERSION==9
# define CONST const
-#else
- typedef int Tcl_Size;
+#elif !defined(Tcl_Size)
+# define Tcl_Size int
#endif
/****** Any edits to this file must mirrored in tclsqlite.c ***********/