]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/uclibc/lib/uclibc/ARCH-all/libc/sysdeps/linux/common/getdents.c
update
[l4.git] / l4 / pkg / uclibc / lib / uclibc / ARCH-all / libc / sysdeps / linux / common / getdents.c
index f772cdfb86f1bb8f0c80fbcb3a11a77c99aee2d0..4a2a12019cb193ee99b2a9d71c525ba4fe2e186a 100644 (file)
@@ -137,7 +137,7 @@ ssize_t __getdents (int fd, char *buf, size_t nbytes)
     return (char *) dp - buf;
 }
 
-#elif __WORDSIZE == 32
+#elif __WORDSIZE == 32 && defined __UCLIBC_HAS_LFS__
 
 extern __typeof(__getdents) __getdents64 /* attribute_hidden*/;
 ssize_t __getdents (int fd, char *buf, size_t nbytes)