From 6737908f74ff566748864548cf35bb1da8e64af6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 31 Oct 2002 18:20:21 +0000 Subject: Ok, this commit is _huge_ and its gonna change the world. I've been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik --- libc/sysdeps/linux/common/bits/posix_opt.h | 4 ++-- libc/sysdeps/linux/common/bits/uClibc_stdio.h | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'libc/sysdeps/linux/common/bits') diff --git a/libc/sysdeps/linux/common/bits/posix_opt.h b/libc/sysdeps/linux/common/bits/posix_opt.h index 4f7d78eb9..73fa007d2 100644 --- a/libc/sysdeps/linux/common/bits/posix_opt.h +++ b/libc/sysdeps/linux/common/bits/posix_opt.h @@ -130,14 +130,14 @@ #define _LFS_ASYNCHRONOUS_IO 1 /* The LFS support in asynchronous I/O is also available. */ -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ # define _LFS64_ASYNCHRONOUS_IO 1 #else # undef _LFS64_ASYNCHRONOUS_IO #endif /* The rest of the LFS is also available. */ -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ # define _LFS_LARGEFILE 1 # define _LFS64_LARGEFILE 1 # define _LFS64_STDIO 1 diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h index 24f2ec39e..83c082f75 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h +++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h @@ -36,9 +36,9 @@ #define __STDIO_THREADSAFE #endif -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ #define __STDIO_LARGE_FILES -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ #ifdef __UCLIBC_HAS_WCHAR__ #define __STDIO_WIDE @@ -47,22 +47,22 @@ /* Make sure defines related to large files are consistent. */ #ifdef _LIBC -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ #undef __USE_LARGEFILE #undef __USE_LARGEFILE64 #undef __USE_FILE_OFFSET64 /* if we're actually building uClibc with large file support, only define... */ #define __USE_LARGEFILE64 1 -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ #else /* not _LIBC */ -#ifndef __UCLIBC_HAVE_LFS__ +#ifndef __UCLIBC_HAS_LFS__ #if defined(__LARGEFILE64_SOURCE) || defined(__USE_LARGEFILE64) \ || defined(__USE_FILE_OFFSET64) #error Sorry... uClibc was built without large file support! #endif -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ #endif /* _LIBC */ -- cgit v1.2.3