LDAP function signature for MSVC

Started by Magnus Haganderover 19 years ago2 messageshackers
Jump to latest
#1Magnus Hagander
magnus@hagander.net

This patch changes the function definition for ldap_start_tls_sA() on
win32 by removing the WINLDAPAPI. This is because in some cases
WINLDAPAPI gets defined to __declspec(dllimport), which is not permitted
at this location. in all other location it apears to be defined to
nothing, so removing it really should have no effect.

//Magnus

Attachments:

libpq_auth_ldap_msvc.diffapplication/octet-stream; name=libpq_auth_ldap_msvc.diffDownload+2-2
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Magnus Hagander (#1)
Re: LDAP function signature for MSVC

"Magnus Hagander" <mha@sollentuna.net> writes:

This patch changes the function definition for ldap_start_tls_sA() on
win32 by removing the WINLDAPAPI.

Applied.

regards, tom lane