Use struct timespec for timestamps in struct stat for Alpha also if __USE_XOPEN2K8.
authorMatt Turner <mattst88@gmail.com>
Mon, 23 Nov 2009 19:56:01 +0000 (14:56 -0500)
committerJoseph Myers <joseph@codesourcery.com>
Sun, 6 Dec 2009 18:26:07 +0000 (18:26 +0000)
Signed-off-by: Matt Turner <mattst88@gmail.com>
ChangeLog.alpha
sysdeps/unix/sysv/linux/alpha/bits/stat.h

index a21c8b4..ed97e8b 100644 (file)
@@ -1,5 +1,10 @@
 2009-11-23  Matt Turner  <mattst88@gmail.com>
 
+       * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Use struct timespec
+       for timestamps also if __USE_XOPEN2K8.
+
+2009-11-23  Matt Turner  <mattst88@gmail.com>
+
        * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Change misleading
        names of parameters of sync_file_range.
 
index 42748be..0aaabe2 100644 (file)
@@ -41,7 +41,7 @@
 
    Use neat tidy anonymous unions and structures when possible.  */
 
-#ifdef __USE_MISC
+#if defined __USE_MISC || defined __USE_XOPEN2K8
 # if __GNUC_PREREQ(3,3)
 #  define __ST_TIME(X)                         \
        __extension__ union {                   \