define S_ISLNK, S_ISSTAT if needed

CVS patchset: 1490
CVS date: 1997/03/20 15:18:28
This commit is contained in:
ewt 1997-03-20 15:18:28 +00:00
parent 0ca7205ef3
commit 418a9bc06a
1 changed files with 8 additions and 0 deletions

View File

@ -19,4 +19,12 @@
char *realpath(char *path, char resolved_path[]);
#endif
#if ! HAVE_S_ISLNK
#define S_ISLNK(mode) ((mode) & S_IFLNK)
#endif
#if ! HAVE_S_ISSOCK
#define S_ISSOCK(mode) ((mode) & S_IFSOCK)
#endif
#endif