Commit f979197
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 0813a5e commit f979197
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
| |||
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 | | |
| |||
2008 | 2012 | | |
2009 | 2013 | | |
2010 | 2014 | | |
2011 | | - | |
| 2015 | + | |
2012 | 2016 | | |
2013 | 2017 | | |
2014 | 2018 | | |
| |||
2202 | 2206 | | |
2203 | 2207 | | |
2204 | 2208 | | |
2205 | | - | |
| 2209 | + | |
2206 | 2210 | | |
2207 | 2211 | | |
2208 | 2212 | | |
| |||
2544 | 2548 | | |
2545 | 2549 | | |
2546 | 2550 | | |
2547 | | - | |
| 2551 | + | |
2548 | 2552 | | |
2549 | 2553 | | |
2550 | 2554 | | |
| |||
2682 | 2686 | | |
2683 | 2687 | | |
2684 | 2688 | | |
2685 | | - | |
| 2689 | + | |
2686 | 2690 | | |
2687 | 2691 | | |
2688 | 2692 | | |
| |||
0 commit comments