From abcecb5bd2eff64c3ba7094014633ae8e188190b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 23 Oct 1998 23:22:54 +0000 Subject: [PATCH] (O_LARGEFILE, O_NOFOLLOW, O_DIRECT): New macros. (O_DIRECTORY): Correct definition according to official 2.1.126. --- sysdeps/unix/sysv/linux/mips/bits/fcntl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h index 63e754d5fec..a01dcaec327 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h @@ -41,7 +41,10 @@ #define O_ASYNC 0x1000 #ifdef __USE_GNU -# define O_DIRECTORY 0x2000 /* Must be a directory. */ +# define O_LARGEFILE 0x2000 /* Allow large file opens. */ +# define O_NOFOLLOW 0x4000 /* Do not follow links. */ +# define O_DIRECT 0x8000 /* Direct disk access hint. */ +# define O_DIRECTORY 0x10000 /* Must be a directory. */ #endif #define O_NDELAY O_NONBLOCK -- 2.47.3