summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 17:07:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 17:07:11 +0200
commitfa9e15558d711c098183be531043eae465b81036 (patch)
tree3498686e824201ddca013bba08c09349917965c8 /sysdeps/mach/hurd/bits
parentfb03b04b7f18638d0942622a479acf7f63b5019f (diff)
downloadglibc-fa9e15558d711c098183be531043eae465b81036.tar.gz
glibc-fa9e15558d711c098183be531043eae465b81036.tar.xz
glibc-fa9e15558d711c098183be531043eae465b81036.zip
hurd: Fix exposition of UTIME_NOW, UTIME_OMIT
	* sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
	(UTIME_NOW, UTIME_OMIT): Define macros.
Diffstat (limited to 'sysdeps/mach/hurd/bits')
-rw-r--r--sysdeps/mach/hurd/bits/stat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/bits/stat.h b/sysdeps/mach/hurd/bits/stat.h
index e354a05237..cb8680e000 100644
--- a/sysdeps/mach/hurd/bits/stat.h
+++ b/sysdeps/mach/hurd/bits/stat.h
@@ -244,11 +244,6 @@ struct stat64
 # define SF_NOUNLINK	0x00100000	/* file may not be removed or renamed */
 # define SF_SNAPSHOT	0x00200000	/* snapshot inode */
 
-#ifdef __USE_ATFILE
-# define UTIME_NOW  -1 /* corresponds to the current time */
-# define UTIME_OMIT -2 /* target time is omitted */
-#endif
-
 __BEGIN_DECLS
 
 /* Set file flags for FILE to FLAGS.  */
@@ -260,4 +255,9 @@ extern int fchflags (int __fd, unsigned long int __flags) __THROW;
 __END_DECLS
 #endif
 
+#ifdef __USE_ATFILE
+# define UTIME_NOW  -1 /* corresponds to the current time */
+# define UTIME_OMIT -2 /* target time is omitted */
+#endif
+
 #endif	/* bits/stat.h */