1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Always define __O_LARGEFILE

This commit is contained in:
Andreas Jaeger
2012-10-22 16:23:20 +02:00
parent 7597ceba89
commit 2a0e2669f9
5 changed files with 17 additions and 18 deletions

View File

@ -39,14 +39,11 @@
#define __O_DIRECT 0x100000 /* direct disk access hint */
#define __O_NOATIME 0x200000 /* Do not set atime. */
#define __O_PATH 0x1000000 /* Resolve pathname but do not open file. */
#endif
#ifdef __USE_LARGEFILE64
# if __WORDSIZE == 64
# define __O_LARGEFILE 0
# else
# define __O_LARGEFILE 0x40000
# endif
#if __WORDSIZE == 64
# define __O_LARGEFILE 0
#else
# define __O_LARGEFILE 0x40000
#endif
#define __O_DSYNC 0x2000 /* Synchronize data. */