summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits/stat.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-26 13:37:07 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:42:59 -0700
commitbc60477d6547a61149bb524d61560e036e44b1f9 (patch)
tree230e6852d1868294ce84105836cdebfe2c3b6a1e /libc/sysdeps/linux/common/bits/stat.h
parent44a5ee0b92e8bd10a27ccd8cb13d7fba06ac901e (diff)
downloaduClibc-alpine-bc60477d6547a61149bb524d61560e036e44b1f9.tar.bz2
uClibc-alpine-bc60477d6547a61149bb524d61560e036e44b1f9.tar.xz
add missing UTIME_* defines for *at funcs
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/stat.h')
-rw-r--r--libc/sysdeps/linux/common/bits/stat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/stat.h b/libc/sysdeps/linux/common/bits/stat.h
index bd5aae267..ef6203943 100644
--- a/libc/sysdeps/linux/common/bits/stat.h
+++ b/libc/sysdeps/linux/common/bits/stat.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995-2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995-2001, 2002, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -163,3 +163,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