summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-04 00:54:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-04 00:54:43 +0000
commit574ed4228838b8861cfc93c8ae890b9bbe8965f7 (patch)
tree51be9f01641310164b0371e1fea21d62a227d989 /libc
parent82ff19e279cc8fae158947314e8c07034dd5b1e5 (diff)
disable older rlimit support by default
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/i386/bits/uClibc_arch_features.h3
-rw-r--r--libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h3
2 files changed, 4 insertions, 2 deletions
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__