am 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."

* commit '6e7e2d201f91fe5a04adc1b49ebb589dc56b425f':
  Add the <dirent.h> feature macros glibc uses.
This commit is contained in:
Elliott Hughes 2014-11-10 23:23:12 +00:00 committed by Android Git Automerger
commit 307d61c338

View File

@ -58,6 +58,12 @@ struct dirent64 { __DIRENT64_BODY };
#undef __DIRENT64_BODY
/* glibc compatibility. */
#undef _DIRENT_HAVE_D_NAMLEN /* Linux doesn't have a d_namlen field. */
#define _DIRENT_HAVE_D_RECLEN
#define _DIRENT_HAVE_D_OFF
#define _DIRENT_HAVE_D_TYPE
#define d_fileno d_ino
typedef struct DIR DIR;