Use __O_LARGEFILE instead of O_LARGEFILE

This commit is contained in:
Andreas Jaeger 2012-10-22 09:19:30 +02:00
parent aba759841b
commit 481b90b9d6
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2012-10-22 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
to __O_LARGEFILE.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
to __O_LARGEFILE.
2012-10-21 Jim Blandy <jimb@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>

View File

@ -25,9 +25,9 @@
#ifdef __USE_LARGEFILE64
# if __WORDSIZE == 64
/* Not necessary, files are always with 64bit off_t. */
# define O_LARGEFILE 0
# define __O_LARGEFILE 0
# else
# define O_LARGEFILE 0100000
# define __O_LARGEFILE 0100000
# endif
#endif

View File

@ -43,9 +43,9 @@
#ifdef __USE_LARGEFILE64
# if __WORDSIZE == 64
# define O_LARGEFILE 0
# define __O_LARGEFILE 0
# else
# define O_LARGEFILE 0x40000
# define __O_LARGEFILE 0x40000
# endif
#endif