From f9d23f95247e391a4c0272ee5b0ab28137397107 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 26 Jul 2009 13:37:07 -0400 Subject: add missing UTIME_* defines for *at funcs Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/common/bits/stat.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libc') 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 -- cgit v1.2.3