aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-10 21:39:43 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-10 21:39:43 +0000
commitbdef6f9a424ae9aec3bd1ebf50f711232da2bb6e (patch)
tree97676a21c5e3f6df5b6c95a548e086ccca5659e8
parent91d46f8a9b3120fa59aa1fbf772a8bba3012a360 (diff)
downloadglibc-bdef6f9a424ae9aec3bd1ebf50f711232da2bb6e.tar.xz
glibc-bdef6f9a424ae9aec3bd1ebf50f711232da2bb6e.zip
Define UTIME_NOW and UTIME_OMIT.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/stat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/sysdeps/unix/sysv/linux/alpha/bits/stat.h
index 40b6853430..42748be762 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/stat.h
@@ -149,3 +149,9 @@ struct stat64
#define __S_IREAD 0400 /* Read by owner. */
#define __S_IWRITE 0200 /* Write by owner. */
#define __S_IEXEC 0100 /* Execute by owner. */
+
+#if defined __USE_ATFILE || defined __USE_GNU
+/* XXX This will change to the macro for the next 2008 POSIX revision. */
+# define UTIME_NOW ((1l << 30) - 1l)
+# define UTIME_OMIT ((1l << 30) - 2l)
+#endif