summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:31:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:32:11 +0100
commit74ca8d6f5d2e29bb7cf4606531313ee8c52b9eda (patch)
treeb2e5ad49c4499ca7c21a92e4d4c3e3aced7cb524 /include/features.h
parentd9f4c6bb0568da6d80f60a0040354f45478f84a3 (diff)
remove UCLIBC_HAS_LFS
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/features.h b/include/features.h
index dcf1348d8..e76bbbab1 100644
--- a/include/features.h
+++ b/include/features.h
@@ -211,16 +211,6 @@
# endif
# endif
-# ifndef __UCLIBC_HAS_LFS__
-# undef _LARGEFILE64_SOURCE
-/* NOTE: This is probably incorrect on a 64-bit arch... */
-# if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
-# error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, \
-uClibc was built without large file support enabled.
-# endif
-# elif defined __BCC__
-# error BCC does not support LFS, please disable it
-# endif
#endif /* __UCLIBC__ */
/* If nothing (other than _GNU_SOURCE) is defined,
@@ -419,9 +409,7 @@ uClibc was built without large file support enabled.
__USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. */
# if defined __USE_FILE_OFFSET64 && !defined __REDIRECT
# define __USE_LARGEFILE 1
-# ifdef __UCLIBC_HAS_LFS__
# define __USE_LARGEFILE64 1
-# endif
# endif
#endif /* !ASSEMBLER */
@@ -440,10 +428,8 @@ uClibc was built without large file support enabled.
#endif
#ifdef _LIBC
-# ifdef __UCLIBC_HAS_LFS__
# undef _FILE_OFFSET_BITS
# undef __USE_FILE_OFFSET64
-# endif
# include <libc-internal.h>
#endif