From: Matt Turner Date: Mon, 23 Nov 2009 19:56:01 +0000 (-0500) Subject: Use struct timespec for timestamps in struct stat for Alpha also if __USE_XOPEN2K8. X-Git-Tag: glibc-2.16-ports-before-merge~552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36a3800af83d4bcd262eccedcc7ecb694597688b;p=thirdparty%2Fglibc.git Use struct timespec for timestamps in struct stat for Alpha also if __USE_XOPEN2K8. Signed-off-by: Matt Turner --- diff --git a/ChangeLog.alpha b/ChangeLog.alpha index a21c8b4bc53..ed97e8b65bd 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,3 +1,8 @@ +2009-11-23 Matt Turner + + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Use struct timespec + for timestamps also if __USE_XOPEN2K8. + 2009-11-23 Matt Turner * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Change misleading diff --git a/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 42748be7628..0aaabe295d8 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/stat.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/stat.h @@ -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 { \