From: Jim Meyering Date: Wed, 3 Feb 1999 13:56:43 +0000 (+0000) Subject: (S_ISDOOR): Define if missing. X-Git-Tag: TEXTUTILS-1_22h~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd9a08e476c9fcf5be7919eb32a01ddf70eab8a3;p=thirdparty%2Fcoreutils.git (S_ISDOOR): Define if missing. --- diff --git a/src/system.h b/src/system.h index 4b56c15a3d..b81a595f5e 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