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/misc/statfs/Makefile | 2 +- libc/misc/statfs/fstatfs64.c | 4 ++-- libc/misc/statfs/fstatvfs64.c | 2 +- libc/misc/statfs/statfs64.c | 2 +- libc/misc/statfs/statvfs64.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libc/misc/statfs') diff --git a/libc/misc/statfs/Makefile b/libc/misc/statfs/Makefile index e8fcf21e4..89eb7fd89 100644 --- a/libc/misc/statfs/Makefile +++ b/libc/misc/statfs/Makefile @@ -22,7 +22,7 @@ TOPDIR=../../../ include $(TOPDIR)Rules.mak -ifeq ($(strip $(DOLFS)),true) +ifeq ($(strip $(UCLIBC_HAS_LFS)),y) CSRC = fstatfs64.c statfs64.c statvfs.c statvfs64.c fstatvfs.c fstatvfs64.c else CSRC = statvfs.c fstatvfs.c diff --git a/libc/misc/statfs/fstatfs64.c b/libc/misc/statfs/fstatfs64.c index acc25d2e0..1040e1fe1 100644 --- a/libc/misc/statfs/fstatfs64.c +++ b/libc/misc/statfs/fstatfs64.c @@ -19,7 +19,7 @@ #include -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 #undef _FILE_OFFSET_BITS @@ -62,5 +62,5 @@ int fstatfs64 (int fd, struct statfs64 *buf) return 0; } -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ diff --git a/libc/misc/statfs/fstatvfs64.c b/libc/misc/statfs/fstatvfs64.c index 84f68ae9b..ed4b63234 100644 --- a/libc/misc/statfs/fstatvfs64.c +++ b/libc/misc/statfs/fstatvfs64.c @@ -19,7 +19,7 @@ #include -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 #undef _FILE_OFFSET_BITS #define _FILE_OFFSET_BITS 64 diff --git a/libc/misc/statfs/statfs64.c b/libc/misc/statfs/statfs64.c index b237624c3..0b954c675 100644 --- a/libc/misc/statfs/statfs64.c +++ b/libc/misc/statfs/statfs64.c @@ -36,7 +36,7 @@ #include #include -#if defined __UCLIBC_HAVE_LFS__ +#if defined __UCLIBC_HAS_LFS__ /* Return information about the filesystem on which FILE resides. */ int statfs64 (const char *file, struct statfs64 *buf) diff --git a/libc/misc/statfs/statvfs64.c b/libc/misc/statfs/statvfs64.c index 1e3ec0a36..78d1a4c3f 100644 --- a/libc/misc/statfs/statvfs64.c +++ b/libc/misc/statfs/statvfs64.c @@ -19,7 +19,7 @@ #include -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 #undef _FILE_OFFSET_BITS #define _FILE_OFFSET_BITS 64 -- cgit v1.2.3