From 5b8303971bb714c8a8f75cc43800a857212928f7 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 30 Jan 2007 17:26:38 +0000 Subject: - should look if LFS is enabled as suggested by pkj in #1131. This generates identical cc1 input for LFS enabled (compared to before r17652) but makes sure that we pickup the non-LFS if LFS is turned off (like r17652 did in this case). --- libc/misc/glob/glob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c index 178b4271a..1bbfa3cfe 100644 --- a/libc/misc/glob/glob.c +++ b/libc/misc/glob/glob.c @@ -361,7 +361,7 @@ static int glob_in_dir (const char *pattern, const char *directory, int flags, { const char *name; size_t len; -#if defined COMPILE_GLOB64 +#if defined __UCLIBC_HAS_LFS__ && !defined COMPILE_GLOB64 struct dirent64 *d; union { -- cgit v1.2.3