]> gcc.gnu.org Git - gcc.git/commitdiff
* system.h (S_ISBLK): Provide fallback definition.
authorPhilippe De Muyter <phdm@macqel.be>
Fri, 5 May 2000 16:27:45 +0000 (18:27 +0200)
committerJeff Law <law@gcc.gnu.org>
Fri, 5 May 2000 16:27:45 +0000 (10:27 -0600)
From-SVN: r33710

gcc/ChangeLog
gcc/system.h

index 9c50cb320c5c4a3968714b44513d9d1d84f86789..cdea5306fa3a11aaa31d8e7b7fb0326c5e3cf4e5 100644 (file)
@@ -1,3 +1,7 @@
+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
index 0e2b6aaa740892abdf27d58f5d508ff2f49b86b5..89d389cac9ac9ccaf63f362f7c753f577bee813a 100644 (file)
@@ -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
This page took 0.087552 seconds and 5 git commands to generate.