mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Update some prototype macros to build on NT.
This commit is contained in:
parent
3b42f9ce2e
commit
463cc5479f
@ -92,7 +92,7 @@
|
||||
#define sock_errno() WSAGetLastError()
|
||||
#define sock_errstr(e) ber_pvt_wsa_err2string(e)
|
||||
|
||||
LIBLBER_F (char *) ber_pvt_wsa_err2string LDAP_P((int));
|
||||
LBER_F( char * ) ber_pvt_wsa_err2string LDAP_P((int));
|
||||
|
||||
#elif MACOS
|
||||
# define tcp_close( s ) tcpclose( s )
|
||||
|
@ -37,7 +37,7 @@ LDAP_LIBC_F(char*)(getpass)();
|
||||
#else
|
||||
#define NEED_GETPASSPHRASE 1
|
||||
#define getpassphrase(p) lutil_getpass(p)
|
||||
LIBLUTIL_F(char*)(lutil_getpass) LDAP_P((const char *getpass));
|
||||
LDAP_LUTIL_F(char*)(lutil_getpass) LDAP_P((const char *getpass));
|
||||
#endif
|
||||
|
||||
/* getopt() defines may be in separate include file */
|
||||
|
@ -28,8 +28,8 @@ static RETSIGTYPE wait4child( int sig );
|
||||
struct sockaddr_in bind_addr;
|
||||
|
||||
/* in nt_main.c */
|
||||
LIBLUTIL_F (SERVICE_STATUS) SLAPDServiceStatus;
|
||||
LIBLUTIL_F (SERVICE_STATUS_HANDLE) hSLAPDServiceStatus;
|
||||
LDAP_LUTIL_F(SERVICE_STATUS) SLAPDServiceStatus;
|
||||
LDAP_LUTIL_F(SERVICE_STATUS_HANDLE) hSLAPDServiceStatus;
|
||||
extern ldap_pvt_thread_cond_t started_event, stopped_event;
|
||||
extern int is_NT_Service;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user