]> git.sur5r.net Git - openldap/commitdiff
Windoes compatibility tweaks
authorHoward Chu <hyc@openldap.org>
Tue, 20 Jul 2004 21:40:33 +0000 (21:40 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 20 Jul 2004 21:40:33 +0000 (21:40 +0000)
servers/slapd/Makefile.in
servers/slurpd/main.c

index e562a68079a7221ab217b5169e91a760e0ac61c5..01247e739c0c0b01c3f7f17ee63f199fe0533cc8 100644 (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
index 65f358085be1d254d327780e7af3539efa76811d..9aece1f6b52e1b797c1d1b57fcebe4d239e7cb07 100644 (file)
 
 #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 { \