aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-11-19 20:05:14 +0000
committerJakub Jelinek <jakub@redhat.com>2005-11-19 20:05:14 +0000
commit8e8c8d3c871666d3c4fb0cda0147fb2231beeb09 (patch)
tree8205dc9da58d4c3090372b155fdede74e7b3d6b1 /sysdeps/unix/sysv/linux/kernel-features.h
parentb9616a4d2d0ff113b95a638127ad27c98e6c713b (diff)
downloadglibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.tar
glibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.tar.gz
glibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.tar.bz2
glibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.zip
Updated to fedora-glibc-20051119T1959
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 002cc46c79..44ac727820 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -84,6 +84,11 @@
# define __ASSUME_MSG_NOSIGNAL 1
#endif
+/* The sendfile syscall was introduced in 2.2.0. */
+#if __LINUX_KERNEL_VERSION >= 131584
+# define __ASSUME_SENDFILE 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