diff --git a/glob/ChangeLog b/glob/ChangeLog index 6e535eef..d8cd316b 100644 --- a/glob/ChangeLog +++ b/glob/ChangeLog @@ -1,3 +1,7 @@ +Sat Apr 29 15:46:57 1995 Roland McGrath + + * posix/glob.c (S_ISDIR): Define if undefined. + Tue Apr 25 17:17:19 1995 Roland McGrath * posix/glob.c (glob): If GLOB_MARK set, stat names to find diff --git a/glob/glob.c b/glob/glob.c index 81f3049c..38a6d75a 100644 --- a/glob/glob.c +++ b/glob/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