From 5b355d314e632c084917767901119ae0bda5c9b6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 26 Jul 2009 15:23:32 -0400 Subject: add missing UTIME_* defines for *at funcs I always forget that many arches have their own bits/stat.h ... Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/nios/bits/stat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/sysdeps/linux/nios') diff --git a/libc/sysdeps/linux/nios/bits/stat.h b/libc/sysdeps/linux/nios/bits/stat.h index 794d0cca5..d299ff189 100644 --- a/libc/sysdeps/linux/nios/bits/stat.h +++ b/libc/sysdeps/linux/nios/bits/stat.h @@ -161,3 +161,8 @@ struct stat64 #define __S_IREAD 0400 /* Read by owner. */ #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 -- cgit v1.2.3