Require stdint.h
Peter Eisentraut <peter@eisentraut.org>
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.com
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +0 −73 |
| configure.in | modified | +0 −2 |
| src/include/c.h | modified | +2 −13 |
| src/include/pg_config.h.in | modified | +0 −14 |
| src/timezone/README | modified | +2 −12 |
| src/tools/msvc/Solution.pm | modified | +1 −5 |
Discussion
- Fix compiler warnings on 64-bit Windows 10 messages · 2020-02-13 → 2020-02-21