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 /sysdeps | |
parent | 54399c08c32eed07b3db579210261ea9487baff3 (diff) | |
download | glibc-86ebe6b1334510d5e71fa1b0f686359bd655d6c5.zip glibc-86ebe6b1334510d5e71fa1b0f686359bd655d6c5.tar.gz glibc-86ebe6b1334510d5e71fa1b0f686359bd655d6c5.tar.bz2 |
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 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/bits/fcntl.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86/bits/fcntl.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h index 43eee7a..5b95878 100644 --- a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h @@ -25,8 +25,6 @@ #if __WORDSIZE == 64 /* Not necessary, files are always with 64bit off_t. */ # define __O_LARGEFILE 0 -#else -# define __O_LARGEFILE 0100000 #endif #if __WORDSIZE == 64 diff --git a/sysdeps/unix/sysv/linux/x86/bits/fcntl.h b/sysdeps/unix/sysv/linux/x86/bits/fcntl.h index 9251e75..2bcded5 100644 --- a/sysdeps/unix/sysv/linux/x86/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/x86/bits/fcntl.h @@ -22,8 +22,6 @@ #ifdef __x86_64__ # define __O_LARGEFILE 0 -#else -# define __O_LARGEFILE 0100000 #endif #ifdef __x86_64__ |