From 275e53e9af11b2cbd87171841c1269385d0e4d24 Mon Sep 17 00:00:00 2001 From: drepper Date: Tue, 30 Jun 1998 12:03:52 +0000 Subject: [PATCH] Define O_LARGEFILE only if __USE_LARGEFILE64 is defined. --- sysdeps/unix/sysv/linux/bits/fcntl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/bits/fcntl.h b/sysdeps/unix/sysv/linux/bits/fcntl.h index 302fa00498..4222631129 100644 --- a/sysdeps/unix/sysv/linux/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/bits/fcntl.h @@ -1,5 +1,5 @@ /* O_*, F_*, FD_* bit values for Linux. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -48,7 +48,9 @@ #define O_ASYNC 020000 /* XXX missing */ -#define O_LARGEFILE 0 +#ifdef __USE_LARGEFILE64 +# define O_LARGEFILE 0 +#endif /* Values for the second argument to `fcntl'. */ #define F_DUPFD 0 /* Duplicate file descriptor. */ -- 2.11.0