OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7b01bc
)
Move the _DIRENT_HAVE_D_TYPE test to avoid breaking fileutils
author
Eric Andersen
<andersen@codepoet.org>
Tue, 27 Aug 2002 01:47:10 +0000
(
01:47
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 27 Aug 2002 01:47:10 +0000
(
01:47
-0000)
-Erik
include/dirent.h
patch
|
blob
|
history
diff --git
a/include/dirent.h
b/include/dirent.h
index
b9a32f4
..
cbee1f9
100644
(file)
--- a/
include/dirent.h
+++ b/
include/dirent.h
@@
-93,7
+93,6
@@
typedef __ino64_t ino64_t;
#endif
-#if defined __USE_BSD
/* File types for `d_type'. */
enum
{
@@
-117,6
+116,7
@@
enum
# define DT_WHT DT_WHT
};
+#if defined __USE_BSD && defined _DIRENT_HAVE_D_TYPE
/* Convert between stat structure types and directory types. */
# define IFTODT(mode) (((mode) & 0170000) >> 12)
# define DTTOIF(dirtype) ((dirtype) << 12)