]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Harden be-gssapi-common.h for headerscheck
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 26 Nov 2021 20:00:29 +0000 (17:00 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 26 Nov 2021 20:00:29 +0000 (17:00 -0300)
commit733f2be094aabf5468a40e5e0137a1d3a071d81f
tree479635e95599016e8edc0cfda08337158998770a
parent9c6ab1ef338273850c8c33f808d27486d3c5ad76
Harden be-gssapi-common.h for headerscheck

Surround the contents with a test that the feature is enabled by
configure, to silence header checking tools on systems without GSSAPI
installed.

Backpatch to 12, where the file appeared.

Discussion: https://postgr.es/m/202111161709.u3pbx5lxdimt@alvherre.pgsql
src/include/libpq/be-gssapi-common.h