summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclDecls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 89ff26c..9ad7b15 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -4293,4 +4293,10 @@ extern const TclStubs *tclStubsPtr;
# define Tcl_GetMaster Tcl_GetParent
#endif
+/* TIP #660 for 8.7 */
+#if TCL_MAJOR_VERSION < 9
+# undef Tcl_GetSizeIntFromObj
+# define Tcl_GetSizeIntFromObj Tcl_GetIntFromObj
+#endif
+
#endif /* _TCLDECLS */