mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Windoes compatibility tweaks
This commit is contained in:
parent
52a49e0840
commit
39fbae025e
2 changed files with 5 additions and 1 deletions
|
|
@ -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 a new issue