From 74ca8d6f5d2e29bb7cf4606531313ee8c52b9eda Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 Nov 2016 22:31:25 +0100 Subject: remove UCLIBC_HAS_LFS --- libc/misc/glob/glob.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libc/misc/glob/glob.c') diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c index 923c03538..c4ecf678b 100644 --- a/libc/misc/glob/glob.c +++ b/libc/misc/glob/glob.c @@ -49,11 +49,7 @@ #define globfree(pglob) globfree64 (pglob) #else #define __readdir readdir -#ifdef __UCLIBC_HAS_LFS__ #define __readdir64 readdir64 -#else -#define __readdir64 readdir -#endif #define struct_stat64 struct stat #define __stat64(fname, buf) stat (fname, buf) #endif @@ -341,7 +337,7 @@ static int glob_in_dir (const char *pattern, const char *directory, int flags, { const char *name; size_t len; -#if defined __UCLIBC_HAS_LFS__ && !defined COMPILE_GLOB64 +#if !defined COMPILE_GLOB64 struct dirent64 *d; union { -- cgit v1.2.3