From bdef6f9a424ae9aec3bd1ebf50f711232da2bb6e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 10 May 2007 21:39:43 +0000 Subject: [PATCH] Define UTIME_NOW and UTIME_OMIT. --- sysdeps/unix/sysv/linux/alpha/bits/stat.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 40b6853..42748be 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 -- 2.7.4