Commit 9573384
committed
Require stdint.h
stdint.h belongs to the compiler (as opposed to inttypes.h), so by
requiring a C99 compiler we can also require stdint.h
unconditionally. Remove configure checks and other workarounds for
it.
This also removes a few steps in the required portability adjustments
to the imported time zone code, which can be applied on the next
import.
When using GCC on a platform that is otherwise pre-C99, this will now
require at least GCC 4.5, which is the first release that supplied a
standard-conforming stdint.h if the native platform didn't have it.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/5d398bbb-262a-5fed-d839-d0e5cff3c0d7%402ndquadrant.com1 parent dca3911 commit 9573384
File tree
6 files changed
+5
-119
lines changed- src
- include
- timezone
- tools/msvc
6 files changed
+5
-119
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14154 | 14154 | | |
14155 | 14155 | | |
14156 | 14156 | | |
14157 | | - | |
14158 | | - | |
14159 | | - | |
14160 | | - | |
14161 | | - | |
14162 | | - | |
14163 | | - | |
14164 | | - | |
14165 | | - | |
14166 | | - | |
14167 | | - | |
14168 | | - | |
14169 | | - | |
14170 | | - | |
14171 | | - | |
14172 | | - | |
14173 | | - | |
14174 | | - | |
14175 | | - | |
14176 | | - | |
14177 | | - | |
14178 | | - | |
14179 | | - | |
14180 | | - | |
14181 | | - | |
14182 | | - | |
14183 | | - | |
14184 | | - | |
14185 | | - | |
14186 | | - | |
14187 | | - | |
14188 | | - | |
14189 | | - | |
14190 | | - | |
14191 | | - | |
14192 | | - | |
14193 | | - | |
14194 | | - | |
14195 | | - | |
14196 | | - | |
14197 | | - | |
14198 | | - | |
14199 | | - | |
14200 | | - | |
14201 | | - | |
14202 | | - | |
14203 | | - | |
14204 | | - | |
14205 | | - | |
14206 | | - | |
14207 | | - | |
14208 | | - | |
14209 | | - | |
14210 | | - | |
14211 | | - | |
14212 | | - | |
14213 | | - | |
14214 | | - | |
14215 | | - | |
14216 | | - | |
14217 | | - | |
14218 | | - | |
14219 | | - | |
14220 | | - | |
14221 | | - | |
14222 | | - | |
14223 | | - | |
14224 | | - | |
14225 | | - | |
14226 | | - | |
14227 | | - | |
14228 | | - | |
14229 | | - | |
14230 | 14157 | | |
14231 | 14158 | | |
14232 | 14159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1477 | 1477 | | |
1478 | 1478 | | |
1479 | 1479 | | |
1480 | | - | |
1481 | | - | |
1482 | 1480 | | |
1483 | 1481 | | |
1484 | 1482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | | - | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| |||
429 | 427 | | |
430 | 428 | | |
431 | 429 | | |
432 | | - | |
433 | | - | |
| 430 | + | |
| 431 | + | |
434 | 432 | | |
435 | 433 | | |
436 | 434 | | |
| |||
445 | 443 | | |
446 | 444 | | |
447 | 445 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 446 | | |
458 | 447 | | |
459 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | 313 | | |
317 | 314 | | |
318 | 315 | | |
| |||
680 | 677 | | |
681 | 678 | | |
682 | 679 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | 680 | | |
687 | 681 | | |
688 | 682 | | |
| |||
1006 | 1000 | | |
1007 | 1001 | | |
1008 | 1002 | | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | 1003 | | |
1014 | 1004 | | |
1015 | 1005 | | |
| |||
1033 | 1023 | | |
1034 | 1024 | | |
1035 | 1025 | | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 73 | + | |
| 74 | + | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
| |||
112 | 109 | | |
113 | 110 | | |
114 | 111 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 112 | | |
123 | 113 | | |
124 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | 278 | | |
280 | 279 | | |
281 | 280 | | |
| |||
396 | 395 | | |
397 | 396 | | |
398 | 397 | | |
399 | | - | |
400 | 398 | | |
401 | 399 | | |
402 | 400 | | |
| |||
496 | 494 | | |
497 | 495 | | |
498 | 496 | | |
499 | | - | |
500 | 497 | | |
501 | 498 | | |
502 | 499 | | |
503 | 500 | | |
504 | | - | |
505 | | - | |
| 501 | + | |
506 | 502 | | |
507 | 503 | | |
508 | 504 | | |
| |||
0 commit comments