소스 검색

disable older rlimit support by default

Mike Frysinger 18 년 전
부모
커밋
574ed42288
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
  2. 2 1
      libc/sysdeps/linux/powerpc/bits/uClibc_arch_features.h

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