diff options
author | Roland McGrath <roland@gnu.org> | 1995-04-29 19:46:34 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-04-29 19:46:34 +0000 |
commit | 2bda74bad375426c13c13e26180bbea5a4562c0b (patch) | |
tree | 68a44079b4b85eac25be90f9c80ce382dda71827 | |
parent | a026e6951d96315a260c27877e9f52c973b360aa (diff) | |
download | glibc-2bda74bad375426c13c13e26180bbea5a4562c0b.tar.gz glibc-2bda74bad375426c13c13e26180bbea5a4562c0b.tar.xz glibc-2bda74bad375426c13c13e26180bbea5a4562c0b.zip |
(S_ISDIR): Define if undefined. cvs/make-3-74 cvs/make-3-73-3
-rw-r--r-- | posix/glob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/glob.c b/posix/glob.c index 81f3049cb2..38a6d75ab2 100644 --- a/posix/glob.c +++ b/posix/glob.c @@ -181,6 +181,8 @@ extern char *alloca (); #endif #ifdef STAT_MACROS_BROKEN #undef S_ISDIR +#endif +#ifndef S_ISDIR #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #endif #endif |