From d37286c178cf779919be950a0d48272cacbe433e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 29 Apr 2001 12:30:59 +0000 Subject: * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer. * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from Linux 2.4.4. (AF_WANPIPE): Likewise. (MSG_MORE): New. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as for Linux generic version. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New. --- sysdeps/unix/sysv/linux/kernel-features.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sysdeps/unix/sysv/linux/kernel-features.h') diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index f0311dfcb5..f4148aa47f 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -146,6 +146,13 @@ # define __ASSUME_FCNTL64 1 #endif +/* Arm got fcntl64 in 2.4.4, PowerPC and SH have it also in 2.4.4 (I + don't know when it got introduced). */ +#if __LINUX_KERNEL_VERSION >= 132100 + && (defined __arm__ || defined __powerpc__ || defined __sh__) +# define __ASSUME_FCNTL64 1 +#endif + /* The getdents64 syscall was introduced in 2.4.0-test7. We test for 2.4.1 for the earliest version we know the syscall is available. */ #if __LINUX_KERNEL_VERSION >= 132097 -- cgit v1.2.3