summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/frv/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-26 15:23:32 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:43:53 -0700
commit29254341b9b2f13f3231f352fde0ecfa630a7c14 (patch)
treed6cc3e90e0152f47b073af956145ab3d8fa3b351 /libc/sysdeps/linux/frv/bits
parent760f8a7c62b6f7e472a2412420f0da488f66f7c9 (diff)
downloaduClibc-alpine-29254341b9b2f13f3231f352fde0ecfa630a7c14.tar.bz2
uClibc-alpine-29254341b9b2f13f3231f352fde0ecfa630a7c14.tar.xz
add missing UTIME_* defines for *at funcs
I always forget that many arches have their own bits/stat.h ... Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/frv/bits')
-rw-r--r--libc/sysdeps/linux/frv/bits/stat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/frv/bits/stat.h b/libc/sysdeps/linux/frv/bits/stat.h
index ae5f059f7..0fcacf195 100644
--- a/libc/sysdeps/linux/frv/bits/stat.h
+++ b/libc/sysdeps/linux/frv/bits/stat.h
@@ -151,4 +151,9 @@ struct stat64
#define __S_IWRITE 0200 /* Write by owner. */
#define __S_IEXEC 0100 /* Execute by owner. */
+#ifdef __USE_ATFILE
+# define UTIME_NOW ((1l << 30) - 1l)
+# define UTIME_OMIT ((1l << 30) - 2l)
+#endif
+
#endif /* _BITS_STAT_H */