Harden be-gssapi-common.h for headerscheck
authorAlvaro Herrera
Fri, 26 Nov 2021 20:00:29 +0000 (17:00 -0300)
committerAlvaro Herrera
Fri, 26 Nov 2021 20:00:29 +0000 (17:00 -0300)
commit1b1e4bfe7da770ad159c0f4291925a3597a65dbc
tree6d7a9e4682eab1ebd2ac7de6015814308d7f65dc
parent2187a229410f12168d48eb41fce22ba348b2b757
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[email protected]
src/include/libpq/be-gssapi-common.h