Commit 5438e045 authored by Howard Chu's avatar Howard Chu
Browse files

Fixed use of LDAP_F macro

See README 1.27 log
parent 0991e225
......@@ -105,8 +105,8 @@ typedef struct sockbuf_io Sockbuf_IO;
typedef struct sockbuf_sec Sockbuf_Sec;
typedef struct sockbuf_buf Sockbuf_Buf;
extern Sockbuf_IO ber_pvt_sb_io_tcp;
extern Sockbuf_IO ber_pvt_sb_io_udp;
LDAP_F( Sockbuf_IO ) ber_pvt_sb_io_tcp;
LDAP_F( Sockbuf_IO ) ber_pvt_sb_io_udp;
struct sockbuf {
......@@ -187,6 +187,15 @@ struct seqorset {
*/
#define ber_log_printf ber_pvt_log_printf
#ifdef __MINGW32__
# undef LDAP_F_PRE
# ifdef LIBLBER_DECL
# define LDAP_F_PRE extern __declspec(LIBLBER_DECL)
# else
# define LDAP_F_PRE extern
# endif
#endif
LDAP_F( int )
ber_log_bprint LDAP_P((
int errlvl,
......
......@@ -271,7 +271,7 @@ struct ldap {
* in init.c
*/
extern struct ldapoptions ldap_int_global_options;
LDAP_F ( struct ldapoptions ) ldap_int_global_options;
void ldap_int_initialize LDAP_P((void));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment