diff options
Diffstat (limited to 'include/dirent.h')
-rw-r--r-- | include/dirent.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h index 7b70abd4..d0a6b44e 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -50,6 +50,16 @@ int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int #define DTTOIF(x) ((x)<<12) #endif +#ifdef _LARGEFILE64_SOURCE +#define dirent64 dirent +#define readdir64 readdir +#define readdir64_r readdir_r +#define scandir64 scandir +#define alphasort64 alphasort +#define off64_t off_t +#define ino64_t ino_t +#endif + #ifdef __cplusplus } #endif |