summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/readdir64_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent/readdir64_r.c')
-rw-r--r--libc/misc/dirent/readdir64_r.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/misc/dirent/readdir64_r.c b/libc/misc/dirent/readdir64_r.c
index 7daf890dd..1cbaf3156 100644
--- a/libc/misc/dirent/readdir64_r.c
+++ b/libc/misc/dirent/readdir64_r.c
@@ -1,5 +1,5 @@
#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
@@ -19,7 +19,6 @@
#include <dirent.h>
#include "dirstream.h"
-
int readdir64_r(DIR *dir, struct dirent64 *entry, struct dirent64 **result)
{
int ret;
@@ -69,5 +68,3 @@ all_done:
__pthread_mutex_unlock(&(dir->dd_lock));
return((de != NULL)? 0 : ret);
}
-#endif /* __UCLIBC_HAS_LFS__ */
-