summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-10 04:17:33 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-10 04:17:33 +0000
commitef25eef9a18839cfd26eb5810296c62e4165b631 (patch)
tree6f06384abb0034d802f5babd2e2dbc7b0af5d9c2 /libc/sysdeps/linux/sh
parentc7dec4ce777a04faffdc5f36500474118f854550 (diff)
only check for rlimit stuff if the target doesnt support the newer function call, and dont bother with 64bit versions on 64bit hosts as the regular one works fine (should fix the setrlimit ltp tests)
Diffstat (limited to 'libc/sysdeps/linux/sh')
-rw-r--r--libc/sysdeps/linux/sh/bits/uClibc_arch_features.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
index 350457979..7b9a0efbb 100644
--- a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
@@ -21,6 +21,9 @@
/* does your target have a broken create_module() ? */
#undef __UCLIBC_BROKEN_CREATE_MODULE__
+/* does your target have to worry about older [gs]etrlimit() ? */
+#define __UCLIBC_HANDLE_OLDER_RLIMIT__
+
/* does your target prefix all symbols with an _ ? */
#define __UCLIBC_NO_UNDERSCORES__