From cd9a08e476c9fcf5be7919eb32a01ddf70eab8a3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 3 Feb 1999 13:56:43 +0000 Subject: (S_ISDOOR): Define if missing. --- src/system.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/system.h b/src/system.h index 4b56c15a3..b81a595f5 100644 --- a/src/system.h +++ b/src/system.h @@ -23,6 +23,7 @@ # undef S_ISBLK # undef S_ISCHR # undef S_ISDIR +# undef S_ISDOOR # undef S_ISFIFO # undef S_ISLNK # undef S_ISMPB @@ -63,6 +64,9 @@ #if !defined(S_ISNWK) && defined(S_IFNWK) /* HP/UX */ # define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK) #endif +#if !defined(S_ISDOOR) && defined(S_IFDOOR) /* Solaris 2.5 and up */ +# define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR) +#endif #ifndef S_IEXEC # define S_IEXEC S_IXUSR -- cgit v1.2.3-70-g09d2