summaryrefslogtreecommitdiff
path: root/libc/misc/glob
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-30 17:26:38 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-30 17:26:38 +0000
commit5b8303971bb714c8a8f75cc43800a857212928f7 (patch)
tree97ae4c10b3e1032771dcde772cf96d910264fe69 /libc/misc/glob
parent098bcdd8bbb6c02cf88729675670c9cd62b2ab81 (diff)
- 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).
Diffstat (limited to 'libc/misc/glob')
-rw-r--r--libc/misc/glob/glob.c2
1 files changed, 1 insertions, 1 deletions
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
{