summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/readdir64_r.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:10:58 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:10:58 +0000
commit81c39339ef06b8942ee2bbf8a9c5e1e9bae15c0c (patch)
treec12f24375cd6612d2f798bd2b3164834c973b3b0 /libc/misc/dirent/readdir64_r.c
parent9d2c271f9b8da968db8622ef3e77eeec09a4e39f (diff)
Build x64 versions only if LFS is enabled
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__ */
-