diff options
Diffstat (limited to 'include/asm-sparc/fcntl.h')
-rw-r--r-- | include/asm-sparc/fcntl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sparc/fcntl.h b/include/asm-sparc/fcntl.h index 07bd2d80257..d4d9c9d852c 100644 --- a/include/asm-sparc/fcntl.h +++ b/include/asm-sparc/fcntl.h | |||
@@ -10,7 +10,11 @@ | |||
10 | #define O_EXCL 0x0800 /* not fcntl */ | 10 | #define O_EXCL 0x0800 /* not fcntl */ |
11 | #define O_SYNC 0x2000 | 11 | #define O_SYNC 0x2000 |
12 | #define O_NONBLOCK 0x4000 | 12 | #define O_NONBLOCK 0x4000 |
13 | #if defined(__sparc__) && defined(__arch64__) | ||
14 | #define O_NDELAY 0x0004 | ||
15 | #else | ||
13 | #define O_NDELAY (0x0004 | O_NONBLOCK) | 16 | #define O_NDELAY (0x0004 | O_NONBLOCK) |
17 | #endif | ||
14 | #define O_NOCTTY 0x8000 /* not fcntl */ | 18 | #define O_NOCTTY 0x8000 /* not fcntl */ |
15 | #define O_LARGEFILE 0x40000 | 19 | #define O_LARGEFILE 0x40000 |
16 | #define O_DIRECT 0x100000 /* direct disk access hint */ | 20 | #define O_DIRECT 0x100000 /* direct disk access hint */ |