From 2a0e2669f902dc574e70f5473f7c165d55b49311 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Oct 2012 16:23:20 +0200 Subject: Always define __O_LARGEFILE --- sysdeps/unix/sysv/linux/sparc/bits/fcntl.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sysdeps/unix/sysv/linux/sparc') diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h index b8496a9072..0f4bf76490 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h @@ -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. */ -- cgit v1.2.3