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)
commitf744519326e1ce4774d0966f7848601a8327eeaa
tree5d7eed6633bbda62ab4f586780fe3e56cc505838
parent1a6f5a0e876306293fda697e7820b404d5b93693
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