From e260fd1c2ec374613e4bb0df648047e5edc349c5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 14 Sep 2006 08:06:08 +0000 Subject: [PATCH] MSVC compatiblity --- servers/slurpd/slurp.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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