diff options
Diffstat (limited to 'libc/misc/dirent/scandir64.c')
-rw-r--r-- | libc/misc/dirent/scandir64.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/misc/dirent/scandir64.c b/libc/misc/dirent/scandir64.c index 7a661996b..e77b88d3c 100644 --- a/libc/misc/dirent/scandir64.c +++ b/libc/misc/dirent/scandir64.c @@ -25,7 +25,7 @@ #define closedir __closedir #include <features.h> -#ifdef __UCLIBC_HAS_LFS__ + #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 #undef _FILE_OFFSET_BITS #define _FILE_OFFSET_BITS 64 @@ -114,5 +114,3 @@ int scandir64(const char *dir, struct dirent64 ***namelist, *namelist = names; return pos; } -#endif /* __UCLIBC_HAS_LFS__ */ - |