about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/kernel-features.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-07-10 16:14:45 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-07-10 16:14:45 +0200
commitfd70af45528d59a00eb3190ef6706cb299488fcd (patch)
tree9782185e343e716c4af641cc16ece3ffd5c38ebf /sysdeps/unix/sysv/linux/alpha/kernel-features.h
parentb444e8f7cc40265c9a20ce5de5f3f6795b7f5028 (diff)
downloadglibc-fd70af45528d59a00eb3190ef6706cb299488fcd.tar.gz
glibc-fd70af45528d59a00eb3190ef6706cb299488fcd.tar.xz
glibc-fd70af45528d59a00eb3190ef6706cb299488fcd.zip
Add the statx function
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/kernel-features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/kernel-features.h b/sysdeps/unix/sysv/linux/alpha/kernel-features.h
index 5781cffd5a..f63be39d1b 100644
--- a/sysdeps/unix/sysv/linux/alpha/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/alpha/kernel-features.h
@@ -45,4 +45,9 @@
 # undef __ASSUME_EXECVEAT
 #endif
 
+/* Support for statx was added in kernel 4.13.  */
+#if __LINUX_KERNEL_VERSION < 0x040D00
+# undef __ASSUME_STATX
+#endif
+
 #endif /* _KERNEL_FEATURES_H */