improved definition of QSE_READDIR

This commit is contained in:
hyung-hwan 2019-12-04 14:58:52 +00:00
parent c9e72e39bf
commit 77f3be0f7a

View File

@ -544,7 +544,7 @@ so it's not practical to define QSE_GETCWD().
#endif #endif
#define QSE_DIR DIR #define QSE_DIR DIR
#if defined(HAVE_READDIR64) #if !defined(_LP64) && (QSE_SIZEOF_VOID_P<8) && defined(HAVE_READDIR64)
typedef struct dirent64 qse_dirent_t; typedef struct dirent64 qse_dirent_t;
# define QSE_READDIR(x) readdir64(x) # define QSE_READDIR(x) readdir64(x)
#else #else