From 74ca8d6f5d2e29bb7cf4606531313ee8c52b9eda Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 Nov 2016 22:31:25 +0100 Subject: remove UCLIBC_HAS_LFS --- include/features.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/features.h') 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 #endif -- cgit v1.2.3