From: Ulrich Drepper Date: Thu, 10 May 2007 21:39:43 +0000 (+0000) Subject: Define UTIME_NOW and UTIME_OMIT. X-Git-Tag: glibc-2.16-ports-before-merge~779 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdef6f9a424ae9aec3bd1ebf50f711232da2bb6e;p=thirdparty%2Fglibc.git Define UTIME_NOW and UTIME_OMIT. --- diff --git a/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 40b68534308..42748be7628 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