]> git.sur5r.net Git - openldap/commitdiff
MSVC compatiblity
authorHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 08:06:08 +0000 (08:06 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 08:06:08 +0000 (08:06 +0000)
servers/slurpd/slurp.h

index c42d70b93f119a766b6a6440656983ddd8ca8cb4..6589e3cc79e68793b16bae98ec3e9ea9726223e2 100644 (file)
 #define mkdir(a,b)     mkdir(a)
 #define S_IRGRP 0
 #define S_IWGRP 0
+#ifndef F_OK
+#define F_OK 0
+#endif
+#ifndef W_OK
+#define W_OK 2
+#endif
+#ifndef R_OK
+#define R_OK 4
+#endif
+#ifndef S_IRUSR
+#define S_IRUSR S_IREAD
+#endif
+#ifndef S_IWUSR
+#define S_IWUSR S_IWRITE
+#endif
 #endif
 
 #undef SERVICE_NAME