From 388386010671ab7c5df29c75a8ad4cc718292d7f Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 28 Jun 1995 09:46:39 +0000 Subject: [PATCH] Added Posix names --- util/arch/archiver.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/util/arch/archiver.c b/util/arch/archiver.c index f8b8ada02..61bbb13dd 100644 --- a/util/arch/archiver.c +++ b/util/arch/archiver.c @@ -70,6 +70,18 @@ typedef char BOOL; #define S_ISDIR(m) (m & S_IFDIR) /* is a directory */ #endif +/* Use Posix names if old-fashioned names are not defined. */ + +#ifndef S_IREAD +#define S_IREAD S_IRUSR +#endif +#ifndef S_IWRITE +#define S_IWRITE S_IWUSR +#endif +#ifndef S_IEXEC +#define S_IEXEC S_IXUSR +#endif + BOOL verbose; BOOL app_fl; BOOL ex_fl; -- 2.34.1