define S_ISLNK, S_ISSTAT if needed
authorewt <devnull@localhost>
Thu, 20 Mar 1997 15:18:28 +0000 (15:18 +0000)
committerewt <devnull@localhost>
Thu, 20 Mar 1997 15:18:28 +0000 (15:18 +0000)
CVS patchset: 1490
CVS date: 1997/03/20 15:18:28

misc/miscfn.h

index 6f6fb66..3d174ce 100644 (file)
 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