mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Windoes compatibility tweaks
This commit is contained in:
parent
52a49e0840
commit
39fbae025e
@ -259,7 +259,7 @@ slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
|
||||
$(WRAP_LIBS)
|
||||
rm -f $(SLAPTOOLS)
|
||||
for i in $(SLAPTOOLS); do \
|
||||
$(LN_S) slapd $$i; done
|
||||
$(LN_S) slapd$(EXEEXT) $$i$(EXEEXT); done
|
||||
|
||||
|
||||
sslapd: version.o
|
||||
|
@ -47,6 +47,10 @@
|
||||
|
||||
#include <ldap_pvt.h>
|
||||
|
||||
#ifdef HAVE_WINSOCK
|
||||
#define mkdir(a,b) mkdir(a)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NT_SERVICE_MANAGER
|
||||
#define MAIN_RETURN(x) return
|
||||
#define SERVICE_EXIT( e, n ) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user