diff options
| author | Matt Turner <mattst88@gmail.com> | 2009-11-23 14:56:01 -0500 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2009-12-06 18:26:07 +0000 |
| commit | 36a3800af83d4bcd262eccedcc7ecb694597688b (patch) | |
| tree | e8c9091486a287b5feafc2b93570d50287a0dd13 | |
| parent | 015a3d04853815fd891ddb3f936a2c6b313a8dbd (diff) | |
| download | glibc-36a3800af83d4bcd262eccedcc7ecb694597688b.tar.xz glibc-36a3800af83d4bcd262eccedcc7ecb694597688b.zip | |
Use struct timespec for timestamps in struct stat for Alpha also if __USE_XOPEN2K8.
Signed-off-by: Matt Turner <mattst88@gmail.com>
| -rw-r--r-- | ChangeLog.alpha | 5 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/stat.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.alpha b/ChangeLog.alpha index a21c8b4bc5..ed97e8b65b 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -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. diff --git a/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 42748be762..0aaabe295d 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 { \ |
