From c93c0c6259666fe2ec2f5049b9d27defb89c1151 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Aug 1999 17:22:24 +0000 Subject: [PATCH] (O_LARGEFILE): Define only if __USE_LARGEFILE64. --- sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h index 1ed9944..312cd08 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h @@ -49,8 +49,10 @@ # define O_NOFOLLOW 0200000 /* Do not follow links. */ #endif +#ifdef __USE_LARGEFILE64 /* Not necessary, files are always with 64bit off_t. */ -#define O_LARGEFILE 0 +# define O_LARGEFILE 0 +#endif /* For now Linux has synchronisity options for data and read operations. We define the symbols here but let them do the same as O_SYNC since -- 2.7.4