LDAP function signature for MSVC

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: LDAP function signature for MSVC
Date: 2006-09-15 20:57:33
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0FB9C@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

Attachment Content-Type Size
libpq_auth_ldap_msvc.diff application/octet-stream 881 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-09-15 20:57:34 Update to msvc build sys
Previous Message Magnus Hagander 2006-09-15 20:57:32 Include file in regress.c

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2006-09-15 20:57:34 Update to msvc build sys
Previous Message Magnus Hagander 2006-09-15 20:57:32 Include file in regress.c