diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-05 16:27:45 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-05 16:27:45 +0000 |
commit | 20a6e8425ce364ff31991faed036897c60579347 (patch) | |
tree | ffbf97e886efcd7c39a2dcc90dbf6a9fece9bde7 /gcc/system.h | |
parent | 356ed71f209eb1d44d8a6c974a97bbada0385bcb (diff) | |
download | ppe42-gcc-20a6e8425ce364ff31991faed036897c60579347.tar.gz ppe42-gcc-20a6e8425ce364ff31991faed036897c60579347.zip |
* system.h (S_ISBLK): Provide fallback definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33710 138bc75d-0d04-0410-961f-82ee72b054a4
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 0e2b6aaa740..89d389cac9a 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 |