OSDN Git Service

add missing UTIME_* defines for *at funcs
authorMike Frysinger <vapier@gentoo.org>
Sun, 26 Jul 2009 17:37:07 +0000 (13:37 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 26 Jul 2009 17:37:07 +0000 (13:37 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libc/sysdeps/linux/common/bits/stat.h

index bd5aae2..ef62039 100644 (file)
@@ -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