Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf744519

Browse files
committed
Harden be-gssapi-common.h for headerscheck
Surround the contents with a test that the feature is enabled byconfigure, to silence header checking tools on systems without GSSAPIinstalled.Backpatch to 12, where the file appeared.Discussion:https://postgr.es/m/202111161709.u3pbx5lxdimt@alvherre.pgsql
1 parent1a6f5a0 commitf744519

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/include/libpq/be-gssapi-common.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#ifndefBE_GSSAPI_COMMON_H
1515
#defineBE_GSSAPI_COMMON_H
1616

17+
#ifdefENABLE_GSS
18+
1719
#if defined(HAVE_GSSAPI_H)
1820
#include<gssapi.h>
1921
#else
@@ -23,4 +25,6 @@
2325
externvoidpg_GSS_error(constchar*errmsg,
2426
OM_uint32maj_stat,OM_uint32min_stat);
2527

28+
#endif/* ENABLE_GSS */
29+
2630
#endif/* BE_GSSAPI_COMMON_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp