(S_ISDIR): Define if undefined.

This commit is contained in:
Roland McGrath 1995-04-29 19:46:34 +00:00
parent a026e6951d
commit 2bda74bad3

View File

@ -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