* commit '307d61c3385909dbbd28cfbb88cc2599fc5d7fdc': Add the <dirent.h> feature macros glibc uses.
This commit is contained in:
@@ -58,6 +58,12 @@ struct dirent64 { __DIRENT64_BODY };
|
|||||||
|
|
||||||
#undef __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
|
#define d_fileno d_ino
|
||||||
|
|
||||||
typedef struct DIR DIR;
|
typedef struct DIR DIR;
|
||||||
|
Reference in New Issue
Block a user