Browse Source

disable older rlimit support by default

Mike Frysinger 18 years ago
parent
commit
574ed42288

+ 2 - 1
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__

+ 2 - 1
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__