Commit be3dad6f by Philippe De Muyter Committed by Jeff Law

* system.h (S_ISBLK): Provide fallback definition.

From-SVN: r33710
parent eda3fbbe
Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
* system.h (S_ISBLK): Provide fallback definition.
2000-05-05 Geoff Berry <geoffb@bops.com>
* extend.texi (Extended Asm): Document inability to give asm
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment