about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-06 14:15:41 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-06 14:15:41 +0000
commite934b0f1d7b05514ee571802f40c7d0d6751ab2f (patch)
tree1785889c86e634227a5471e690bb8a1c0f4c469d /Src/system.h
parent8b21d59cfac518f3f7bd1a126c7e36459a5d7f84 (diff)
downloadzsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar.gz
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar.xz
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.zip
manual/8137
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index a3edf0fc4..dbc387947 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -409,6 +409,7 @@ struct timezone {
 # undef S_ISBLK
 # undef S_ISCHR
 # undef S_ISDIR
+# undef S_ISDOOR
 # undef S_ISFIFO
 # undef S_ISLNK
 # undef S_ISMPB
@@ -436,6 +437,9 @@ struct timezone {
 #if !defined(S_ISDIR) && defined(S_IFDIR)
 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
 #endif
+#if !defined(S_ISDOOR) && defined(S_IFDOOR)      /* Solaris */
+# define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR)
+#endif
 #if !defined(S_ISFIFO) && defined(S_IFIFO)
 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
 #endif
@@ -475,6 +479,9 @@ struct timezone {
 #ifndef S_ISDIR
 # define S_ISDIR(m) ((void)(m), 0)
 #endif
+#ifndef S_ISDOOR
+# define S_ISDOOR(m) ((void)(m), 0)
+#endif
 #ifndef S_ISFIFO
 # define S_ISFIFO(m) ((void)(m), 0)
 #endif