diff options
author | Andreas Jaeger <aj@suse.de> | 2012-10-27 13:49:30 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-10-27 13:49:30 +0200 |
commit | 86ebe6b1334510d5e71fa1b0f686359bd655d6c5 (patch) | |
tree | 8faf85dc4f6718c0ff3decc0bf029986ae00fcd8 /ports | |
parent | 54399c08c32eed07b3db579210261ea9487baff3 (diff) | |
download | glibc-86ebe6b1334510d5e71fa1b0f686359bd655d6c5.tar.gz |
Remove redundant defines of __O_LARGEFILE
* sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
[!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
[__WORDSIZE != 64]: Likewise.
* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE)
[__WORDSIZE != 64]: Do not define, take value from
<bits/fcntl-linux.h>.
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.linux-generic | 6 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/generic/bits/fcntl.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/ChangeLog.linux-generic b/ports/ChangeLog.linux-generic index 6ee9a12b2c..0dfb8402c6 100644 --- a/ports/ChangeLog.linux-generic +++ b/ports/ChangeLog.linux-generic @@ -1,3 +1,9 @@ +2012-10-27 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE) + [__WORDSIZE != 64]: Do not define, take value from + <bits/fcntl-linux.h>. + 2012-10-23 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: Remove all diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/generic/bits/fcntl.h index 7ea207c460..56a914b7eb 100644 --- a/ports/sysdeps/unix/sysv/linux/generic/bits/fcntl.h +++ b/ports/sysdeps/unix/sysv/linux/generic/bits/fcntl.h @@ -25,8 +25,6 @@ #if __WORDSIZE == 64 # define __O_LARGEFILE 0 -#else -# define __O_LARGEFILE 0100000 #endif struct flock |