summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/scandir64.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/scandir64.c
parent9d2c271f9b8da968db8622ef3e77eeec09a4e39f (diff)
Build x64 versions only if LFS is enabled
Diffstat (limited to 'libc/misc/dirent/scandir64.c')
-rw-r--r--libc/misc/dirent/scandir64.c4
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__ */
-