about summary refs log tree commit diff
path: root/ports/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-08-09 23:33:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-09 23:33:41 +0000
commit7f540252876b853889c9482c9086ac1c55fe6e3c (patch)
tree0b7a7bb7fa0f29cf0ab9e16b1e40eacb925afc68 /ports/sysdeps
parentf85fa27058eb7d4b56b8deaf885064cf8d730f68 (diff)
downloadglibc-7f540252876b853889c9482c9086ac1c55fe6e3c.tar.gz
glibc-7f540252876b853889c9482c9086ac1c55fe6e3c.tar.xz
glibc-7f540252876b853889c9482c9086ac1c55fe6e3c.zip
Define __ASSUME_UTIMES for MIPS.
Diffstat (limited to 'ports/sysdeps')
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/kernel-features.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
index 996ba0aedf..62c1604e9f 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
@@ -22,6 +22,9 @@
 /* MIPS platforms had IPC64 all along.  */
 #define __ASSUME_IPC64		1
 
+/* MIPS had the utimes syscall by 2.6.0.  */
+#define __ASSUME_UTIMES		1
+
 /* Support for the eventfd2 and signalfd4 syscalls was added in 2.6.27.  */
 #if __LINUX_KERNEL_VERSION >= 0x02061c
 # define __ASSUME_EVENTFD2	1