From: Howard Chu Date: Thu, 14 Sep 2006 08:06:08 +0000 (+0000) Subject: MSVC compatiblity X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e260fd1c2ec374613e4bb0df648047e5edc349c5;p=openldap MSVC compatiblity --- diff --git a/servers/slurpd/slurp.h b/servers/slurpd/slurp.h index c42d70b93f..6589e3cc79 100644 --- a/servers/slurpd/slurp.h +++ b/servers/slurpd/slurp.h @@ -61,6 +61,21 @@ #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