Add feature macros to dirent.h describing struct dirent.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-06-24 19:38:37 +02:00
parent 441777de28
commit cab9f561ea
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ struct dirent
char d_name[0];
};
#undef _DIRENT_HAVE_D_NAMLEN
#define _DIRENT_HAVE_D_RECLEN
#define _DIRENT_HAVE_D_OFF
#undef _DIRENT_HAVE_D_TYPE
int alphasort(const struct dirent**, const struct dirent**);
int closedir(DIR* dir);
int dirfd(DIR* dir);