summaryrefslogtreecommitdiff
path: root/libc/misc/ftw/ftw.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-06 02:58:32 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-06 02:58:32 +0000
commit1bb56f359252561d0f56d7fdbae7c697069797c0 (patch)
tree2a916e21aa7a4042c23e02d64834d036c6e83ac3 /libc/misc/ftw/ftw.c
parent700f82078eaf6047fae584f24c818c1bba0fac41 (diff)
oops. ftw would blow chunks if UCLIBC_HAS_LFS was disabled.
Diffstat (limited to 'libc/misc/ftw/ftw.c')
-rw-r--r--libc/misc/ftw/ftw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/misc/ftw/ftw.c b/libc/misc/ftw/ftw.c
index 75c58d6a5..833821f22 100644
--- a/libc/misc/ftw/ftw.c
+++ b/libc/misc/ftw/ftw.c
@@ -21,9 +21,8 @@
#define _GNU_SOURCE
#include <features.h>
-#ifdef __UCLIBC_HAS_LFS__
-#ifdef L_ftw64
+#if defined (__UCLIBC_HAS_LFS__) && defined L_ftw64
#define L_ftw
/* If Large file support is enabled, transparently remap
@@ -48,7 +47,6 @@
#define FTW_FUNC_T __ftw64_func_t
#define NFTW_FUNC_T __nftw64_func_t
#else
-
#define FTW_NAME ftw
#define NFTW_NAME nftw
#define INO_T ino_t
@@ -58,7 +56,6 @@
#define FTW_FUNC_T __ftw_func_t
#define NFTW_FUNC_T __nftw_func_t
#endif
-#endif
#ifdef L_ftw