]> granicus.if.org Git - postgresql/commit
Add infrastructure for compile-time assertions about variable types.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Sep 2012 18:38:31 +0000 (14:38 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Sep 2012 18:38:31 +0000 (14:38 -0400)
commitea473fb2dee7dfe61f8fbdfac9d9da87d84e564e
treef54d9cb4b0200c7e81d07b942fbf384855db8297
parent26fd82ddf1273d5df20b892fc02c8ca756d2e2bc
Add infrastructure for compile-time assertions about variable types.

Currently, the macros only work with fairly recent gcc versions, but there
is room to expand them to other compilers that have comparable features.

Heavily revised and autoconfiscated version of a patch by Andres Freund.
config/c-compiler.m4
configure
configure.in
src/include/c.h
src/include/pg_config.h.in
src/include/pg_config.h.win32