diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-19 12:23:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-19 12:23:38 +0000 |
commit | dcbdb9f887e5fbc0cab59161ee3a1fae84dd3875 (patch) | |
tree | d553a30991f5692c134e3e550d527c0dd15d071a | |
parent | 1594fb914bdfcb3f913ffbccd6bd0685ff8c60f9 (diff) | |
download | coreutils-dcbdb9f887e5fbc0cab59161ee3a1fae84dd3875.tar.xz |
Add S_IS* definitions from filemode.c.
(S_ISCTG): Define to zero if not already defined.
(S_ISOFD): Likewise.
(S_ISOFL): Likewise.
-rw-r--r-- | lib/stat-macros.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/stat-macros.h b/lib/stat-macros.h index 787f7703e..3d32a4d01 100644 --- a/lib/stat-macros.h +++ b/lib/stat-macros.h @@ -161,6 +161,21 @@ # endif # endif +/* contiguous */ +# ifndef S_ISCTG +# define S_ISCTG(p) 0 +# endif + +/* Cray DMF (data migration facility): off line, with data */ +# ifndef S_ISOFD +# define S_ISOFD(p) 0 +# endif + +/* Cray DMF (data migration facility): off line, with no data */ +# ifndef S_ISOFL +# define S_ISOFL(p) 0 +# endif + /* If any of the following are undefined, define them to their de facto standard values. */ # if !S_ISUID |