aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/fcntl.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/fcntl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl.h b/sysdeps/unix/sysv/linux/bits/fcntl.h
index c2a8ee91ac..42ad79f6ab 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl.h
@@ -42,7 +42,7 @@
#define O_ASYNC 020000
#ifdef __USE_GNU
-# define O_DIRECT 040000 /* Direct disk access. */
+# define O_DIRECTORY 040000 /* Must be a directory. */
#endif
/* For now Linux has synchronisity options for data and read operations.
@@ -53,10 +53,6 @@
# define O_RSYNC O_SYNC /* Synchronize read operations. */
#endif
-#ifdef __USE_LARGEFILE64
-# define O_LARGEFILE 0100000
-#endif
-
/* Values for the second argument to `fcntl'. */
#define F_DUPFD 0 /* Duplicate file descriptor. */
#define F_GETFD 1 /* Get file descriptor flags. */