Browse Source

- 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).

Bernhard Reutner-Fischer 18 years ago
parent
commit
5b8303971b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/glob/glob.c

+ 1 - 1
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
 		    {