projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ca7205
)
define S_ISLNK, S_ISSTAT if needed
author
ewt
<devnull@localhost>
Thu, 20 Mar 1997 15:18:28 +0000
(15:18 +0000)
committer
ewt
<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
patch
|
blob
|
history
diff --git
a/misc/miscfn.h
b/misc/miscfn.h
index
6f6fb66
..
3d174ce
100644
(file)
--- a/
misc/miscfn.h
+++ b/
misc/miscfn.h
@@
-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