diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-26 15:23:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-26 15:23:32 -0400 |
commit | 5b355d314e632c084917767901119ae0bda5c9b6 (patch) | |
tree | 0f797858841048e7f23ef1694aea277e53fb480e /libc/sysdeps/linux/nios2 | |
parent | 8bf1bb4bf1c7a58f9f9b64f599ed5a8eaeefe3a6 (diff) | |
download | uClibc-alpine-5b355d314e632c084917767901119ae0bda5c9b6.tar.bz2 uClibc-alpine-5b355d314e632c084917767901119ae0bda5c9b6.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>
Diffstat (limited to 'libc/sysdeps/linux/nios2')
-rw-r--r-- | libc/sysdeps/linux/nios2/bits/stat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/nios2/bits/stat.h b/libc/sysdeps/linux/nios2/bits/stat.h index c1eee0658..d380eeed5 100644 --- a/libc/sysdeps/linux/nios2/bits/stat.h +++ b/libc/sysdeps/linux/nios2/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 |