projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a026e69
)
(S_ISDIR): Define if undefined.
author
Roland McGrath
<roland@gnu.org>
Sat, 29 Apr 1995 19:46:34 +0000
(19:46 +0000)
committer
Roland McGrath
<roland@gnu.org>
Sat, 29 Apr 1995 19:46:34 +0000
(19:46 +0000)
posix/glob.c
patch
|
blob
|
history
diff --git
a/posix/glob.c
b/posix/glob.c
index
81f3049
..
38a6d75
100644
(file)
--- 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