From ad8d4f5711a18363426a055ee4088c3c7be0daef Mon Sep 17 00:00:00 2001 From: roland Date: Wed, 22 May 1996 00:06:32 +0000 Subject: [PATCH] Wed May 22 01:48:54 1996 Ulrich Drepper * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines these macros if not already available based on R_OK, W_OK, and X_OK. --- sysdeps/posix/euidaccess.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sysdeps/posix/euidaccess.c b/sysdeps/posix/euidaccess.c index feaa9a2ed3..e50bdfbb8c 100644 --- a/sysdeps/posix/euidaccess.c +++ b/sysdeps/posix/euidaccess.c @@ -78,6 +78,16 @@ extern int errno; #define R_OK 4 #endif +#if !defined (S_IROTH) && defined (R_OK) +# define S_IROTH R_OK +#endif +#if !defined (S_IWOTH) && defined (W_OK) +# define S_IWOTH W_OK +#endif +#if !defined (S_IXOTH) && defined (X_OK) +# define S_IXOTH X_OK +#endif + #ifdef _LIBC -- 2.11.0