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

Commit7d1b8e7

Browse files
committed
Attempt to fix LDAP build
Apparently, an older spelling of LDAP_OPT_DIAGNOSTIC_MESSAGE isLDAP_OPT_ERROR_STRING, so fall back to that one.
1 parentcf1238c commit7d1b8e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/backend/libpq/auth.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ ULONG(*__ldap_start_tls_sA) (
141141
#endif
142142

143143
staticintCheckLDAPAuth(Port*port);
144+
145+
/* LDAP_OPT_DIAGNOSTIC_MESSAGE is the newer spelling */
146+
#ifndefLDAP_OPT_DIAGNOSTIC_MESSAGE
147+
#defineLDAP_OPT_DIAGNOSTIC_MESSAGE LDAP_OPT_ERROR_STRING
148+
#endif
149+
144150
#endif/* USE_LDAP */
145151

146152
/*----------------------------------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp