From ecda4bdaa1835e9a7865667690e3e264c25085e6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 2 Nov 1999 01:01:03 +0000 Subject: Update. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition. --- sysdeps/unix/sysv/linux/kernel-features.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index db2bfe24d5..f01f2ddaca 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -74,3 +74,8 @@ #if __LINUX_KERNEL_VERSION >= 131408 # define __ASSUME_SIOCGIFNAME 1 #endif + +/* On x86 another `getrlimit' syscall was added in 2.3.25. */ +#if __LINUX_KERNEL_VERSION >= 131865 && defined __i386__ +# define __ASSUME_NEW_GETRLIMIT_SYSCALL 1 +#endif -- cgit v1.2.3