Windoes compatibility tweaks

This commit is contained in:
Howard Chu 2004-07-20 21:40:33 +00:00
parent 52a49e0840
commit 39fbae025e
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 { \