diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 00:10:58 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 00:10:58 +0000 |
commit | 81c39339ef06b8942ee2bbf8a9c5e1e9bae15c0c (patch) | |
tree | c12f24375cd6612d2f798bd2b3164834c973b3b0 /libc/misc/dirent/readdir64.c | |
parent | 9d2c271f9b8da968db8622ef3e77eeec09a4e39f (diff) |
Build x64 versions only if LFS is enabled
Diffstat (limited to 'libc/misc/dirent/readdir64.c')
-rw-r--r-- | libc/misc/dirent/readdir64.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/misc/dirent/readdir64.c b/libc/misc/dirent/readdir64.c index 51918e363..177af3fc9 100644 --- a/libc/misc/dirent/readdir64.c +++ b/libc/misc/dirent/readdir64.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 @@ -20,7 +20,6 @@ #include <dirent.h> #include "dirstream.h" -#undef readdir64 struct dirent64 attribute_hidden *__readdir64(DIR * dir) { ssize_t bytes; @@ -62,5 +61,3 @@ all_done: return de; } strong_alias(__readdir64,readdir64) - -#endif /* __UCLIBC_HAS_LFS__ */ |