Commit 32a2aa7
committed
Add support for Tcl 9
Tcl 9 changed several API functions to take Tcl_Size, which is
ptrdiff_t, instead of int, for 64-bit enablement. We have to change a
few local variables to be compatible with that. We also provide a
fallback typedef of Tcl_Size for older Tcl versions.
The affected variables are used for quantities that will not approach
values beyond the range of int, so this doesn't change any
functionality.
Reviewed-by: Tristan Partin <tristan@partin.io>
Discussion: https://www.postgresql.org/message-id/flat/bce0fe54-75b4-438e-b42b-8e84bc7c0e9c%40eisentraut.org1 parent bc5a4df commit 32a2aa7
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
987 | 991 | | |
988 | 992 | | |
989 | 993 | | |
990 | | - | |
| 994 | + | |
991 | 995 | | |
992 | 996 | | |
993 | 997 | | |
| |||
1063 | 1067 | | |
1064 | 1068 | | |
1065 | 1069 | | |
1066 | | - | |
| 1070 | + | |
1067 | 1071 | | |
1068 | 1072 | | |
1069 | 1073 | | |
| |||
2089 | 2093 | | |
2090 | 2094 | | |
2091 | 2095 | | |
2092 | | - | |
| 2096 | + | |
2093 | 2097 | | |
2094 | 2098 | | |
2095 | 2099 | | |
| |||
2283 | 2287 | | |
2284 | 2288 | | |
2285 | 2289 | | |
2286 | | - | |
| 2290 | + | |
2287 | 2291 | | |
2288 | 2292 | | |
2289 | 2293 | | |
| |||
2625 | 2629 | | |
2626 | 2630 | | |
2627 | 2631 | | |
2628 | | - | |
| 2632 | + | |
2629 | 2633 | | |
2630 | 2634 | | |
2631 | 2635 | | |
| |||
2763 | 2767 | | |
2764 | 2768 | | |
2765 | 2769 | | |
2766 | | - | |
| 2770 | + | |
2767 | 2771 | | |
2768 | 2772 | | |
2769 | 2773 | | |
| |||
0 commit comments