From 574ed4228838b8861cfc93c8ae890b9bbe8965f7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 4 Mar 2006 00:54:43 +0000 Subject: disable older rlimit support by default --- libc/sysdeps/linux/i386/bits/uClibc_arch_features.h | 3 ++- libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h index 718ab2a9c..d08ac0bd7 100644 --- a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h +++ b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h @@ -18,7 +18,8 @@ #define __UCLIBC_BROKEN_CREATE_MODULE__ /* does your target have to worry about older [gs]etrlimit() ? */ -#define __UCLIBC_HANDLE_OLDER_RLIMIT__ +/* this is only an issue on i386 where linux < 2.3.25, so we just assume it works ... */ +#undef __UCLIBC_HANDLE_OLDER_RLIMIT__ /* does your target prefix all symbols with an _ ? */ #define __UCLIBC_NO_UNDERSCORES__ diff --git a/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h b/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h index 1e994ec68..7efa8c40f 100644 --- a/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h +++ b/libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h @@ -18,7 +18,8 @@ #undef __UCLIBC_BROKEN_CREATE_MODULE__ /* does your target have to worry about older [gs]etrlimit() ? */ -#define __UCLIBC_HANDLE_OLDER_RLIMIT__ +/* this is only an issue on i386 where linux < 2.3.35, so we just assume it works ... */ +#undef __UCLIBC_HANDLE_OLDER_RLIMIT__ /* does your target prefix all symbols with an _ ? */ #define __UCLIBC_NO_UNDERSCORES__ -- cgit v1.2.3