aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index e49d1f48a8..469f5f48bc 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -136,7 +136,7 @@
# define __ASSUME_IPC64 1
#endif
-/* mips platforms had IPC64 all along. */
+/* MIPS platforms had IPC64 all along. */
#if defined __mips__
# define __ASSUME_IPC64 1
#endif
@@ -156,7 +156,7 @@
/* The changed st_ino field appeared in 2.4.0-test6. But we cannot
distinguish this version from other 2.4.0 releases. Therefore play
save and assume it available is for 2.4.1 and up. */
-#if __LINUX_KERNEL_VERSION >= 132097
+#if __LINUX_KERNEL_VERSION >= 132097 && !defined __alpha__
# define __ASSUME_ST_INO_64_BIT 1
#endif
@@ -252,6 +252,11 @@
# define __ASSUME_GETDENTS64_SYSCALL 1
#endif
+/* Alpha switched to a 64-bit timeval sometime before 2.2.0. */
+#if __LINUX_KERNEL_VERSION >= 131584 && defined __alpha__
+# define __ASSUME_TIMEVAL64 1
+#endif
+
#if defined __mips__ && defined _ABIN32 && _MIPS_SIM == _ABIN32
# define __ASSUME_FCNTL64 1
#endif