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/syscalls.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'libc/sysdeps/linux/common/syscalls.c') diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 0229880a6..e0dbdf39d 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -962,7 +962,7 @@ _syscall2(int, getitimer, __itimer_which_t, which, struct itimerval *, value); #include #include _syscall2(int, stat, const char *, file_name, struct stat *, buf); -#if ! defined __NR_stat64 && defined __UCLIBC_HAVE_LFS__ +#if ! defined __NR_stat64 && defined __UCLIBC_HAS_LFS__ weak_alias(stat, stat64); #endif #endif @@ -972,7 +972,7 @@ weak_alias(stat, stat64); #include #include _syscall2(int, lstat, const char *, file_name, struct stat *, buf); -#if ! defined __NR_lstat64 && defined __UCLIBC_HAVE_LFS__ +#if ! defined __NR_lstat64 && defined __UCLIBC_HAS_LFS__ weak_alias(lstat, lstat64); #endif #endif @@ -982,7 +982,7 @@ weak_alias(lstat, lstat64); #include #include _syscall2(int, fstat, int, filedes, struct stat *, buf); -#if ! defined __NR_fstat64 && defined __UCLIBC_HAVE_LFS__ +#if ! defined __NR_fstat64 && defined __UCLIBC_HAS_LFS__ weak_alias(fstat, fstat64); #endif #endif @@ -1621,29 +1621,29 @@ int getrlimit (__rlimit_resource_t resource, struct rlimit *rlimits) //#define __NR_stat64 195 #ifdef L_stat64 -#if defined __NR_stat64 && defined __UCLIBC_HAVE_LFS__ +#if defined __NR_stat64 && defined __UCLIBC_HAS_LFS__ #include #include _syscall2(int, stat64, const char *, file_name, struct stat64 *, buf); -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ #endif //#define __NR_lstat64 196 #ifdef L_lstat64 -#if defined __NR_lstat64 && defined __UCLIBC_HAVE_LFS__ +#if defined __NR_lstat64 && defined __UCLIBC_HAS_LFS__ #include #include _syscall2(int, lstat64, const char *, file_name, struct stat64 *, buf); -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ #endif //#define __NR_fstat64 197 #ifdef L_fstat64 -#if defined __NR_fstat64 && defined __UCLIBC_HAVE_LFS__ +#if defined __NR_fstat64 && defined __UCLIBC_HAS_LFS__ #include #include _syscall2(int, fstat64, int, filedes, struct stat64 *, buf); -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ #endif @@ -1679,16 +1679,16 @@ _syscall2(int, pivot_root, const char *, new_root, const char *, put_old) //#define __NR_getdents64 220 #ifdef L_getdents64 -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ #include #include _syscall3(int, getdents64, int, fd, char *, dirp, size_t, count); -#endif /* __UCLIBC_HAVE_LFS__ */ +#endif /* __UCLIBC_HAS_LFS__ */ #endif //#define __NR_fcntl64 221 #ifdef L__fcntl64 -#ifdef __UCLIBC_HAVE_LFS__ +#ifdef __UCLIBC_HAS_LFS__ #ifdef __NR_fcntl64 #define __NR__fcntl64 __NR_fcntl64 #include -- cgit v1.2.3