postgresql/config
Thomas Munro 962da900ac Use <stdint.h> and <inttypes.h> for c.h integers.
Redefine our exact width types with standard C99 types and macros,
including int64_t, INT64_MAX, INT64_C(), PRId64 etc.  We were already
using <stdint.h> types in a few places.

One complication is that Windows' <inttypes.h> uses format strings like
"%I64d", "%I32", "%I" for PRI*64, PRI*32, PTR*PTR, instead of mapping to
other standardized format strings like "%lld" etc as seen on other known
systems.  Teach our snprintf.c to understand them.

This removes a lot of configure clutter, and should also allow 64-bit
numbers and other standard types to be used in localized messages
without casting.

Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/ME3P282MB3166F9D1F71F787929C0C7E7B6312%40ME3P282MB3166.AUSP282.PROD.OUTLOOK.COM
2024-12-04 15:05:38 +13:00
..
ax_pthread.m4
c-compiler.m4 Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
c-library.m4 Simplify checking for xlocale.h 2024-10-01 07:23:45 -04:00
check_decls.m4
check_modules.pl
config.guess Update config.guess and config.sub 2024-04-09 14:21:57 +02:00
config.sub Update config.guess and config.sub 2024-04-09 14:21:57 +02:00
general.m4
install-sh
llvm.m4 jit: Require at least LLVM 14, if enabled. 2024-10-01 04:49:11 -04:00
Makefile
meson.build
missing
perl.m4
pkg.m4
prep_buildtree
programs.m4
python.m4
tcl.m4