diff options
author | Jim Meyering <jim@meyering.net> | 1999-04-03 03:29:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-04-03 03:29:17 +0000 |
commit | 98327bba60c85660429a91d1f80912f3f37c2fb2 (patch) | |
tree | 741ea52d830a4bd94da2b9a4e6058cee668e7e03 | |
parent | a29afcb470ec03aae7606bb87fffd3dd99ec4ab4 (diff) | |
download | coreutils-98327bba60c85660429a91d1f80912f3f37c2fb2.tar.xz |
(S_IWUSR): Define if not already defined.
-rw-r--r-- | src/system.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index b81a595f5..b3e12785a 100644 --- a/src/system.h +++ b/src/system.h @@ -68,6 +68,14 @@ # define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR) #endif +#if !S_IWUSR +# if S_IWRITE +# define S_IWUSR S_IWRITE +# else +# define S_IWUSR 00200 +# endif +#endif + #ifndef S_IEXEC # define S_IEXEC S_IXUSR #endif |