summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-26 15:23:32 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:43:53 -0700
commit29254341b9b2f13f3231f352fde0ecfa630a7c14 (patch)
treed6cc3e90e0152f47b073af956145ab3d8fa3b351 /libc/sysdeps/linux/sparc
parent760f8a7c62b6f7e472a2412420f0da488f66f7c9 (diff)
downloaduClibc-alpine-29254341b9b2f13f3231f352fde0ecfa630a7c14.tar.bz2
uClibc-alpine-29254341b9b2f13f3231f352fde0ecfa630a7c14.tar.xz
add missing UTIME_* defines for *at funcs
I always forget that many arches have their own bits/stat.h ... Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/sparc')
-rw-r--r--libc/sysdeps/linux/sparc/bits/stat.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/stat.h b/libc/sysdeps/linux/sparc/bits/stat.h
index 2fccb14cf..7426e1680 100644
--- a/libc/sysdeps/linux/sparc/bits/stat.h
+++ b/libc/sysdeps/linux/sparc/bits/stat.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2006
- Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995-2002, 2006, 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 +162,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