diff options
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 0e2b6aa..89d389c 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -478,6 +478,11 @@ extern void abort PARAMS ((void)); #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) #endif +/* Test if something is a block special file. */ +#ifndef S_ISBLK +#define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) +#endif + /* Test if something is a socket. */ #ifndef S_ISSOCK # ifdef S_IFSOCK |