]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define UTIME_NOW and UTIME_OMIT.
authorUlrich Drepper <drepper@redhat.com>
Thu, 10 May 2007 21:39:43 +0000 (21:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 10 May 2007 21:39:43 +0000 (21:39 +0000)
sysdeps/unix/sysv/linux/alpha/bits/stat.h

index 40b6853430810adbfcd84f4884d57e883c6ee721..42748be7628690f2616c2ec53ab94c1026d750f0 100644 (file)
@@ -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