diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/ftw/ftw.c | 5 |
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 |