projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
somehow timespec tv_nsec had the wrong type on x86_64... fixed
[musl]
/
arch
/
x86_64
/
bits
/
fcntl.h
diff --git
a/arch/x86_64/bits/fcntl.h
b/arch/x86_64/bits/fcntl.h
index
802c3d1
..
2487a30
100644
(file)
--- a/
arch/x86_64/bits/fcntl.h
+++ b/
arch/x86_64/bits/fcntl.h
@@
-14,12
+14,15
@@
#define O_NOFOLLOW 0400000
#define O_CLOEXEC 02000000
#define O_NOFOLLOW 0400000
#define O_CLOEXEC 02000000
-#ifdef _GNU_SOURCE
-#define O_NDELAY O_NONBLOCK
+/* Extensions, but in the reserved namespace, so OK */
#define O_ASYNC 020000
#define O_DIRECT 040000
#define O_ASYNC 020000
#define O_DIRECT 040000
+#define O_LARGEFILE 0
#define O_NOATIME 01000000
#define O_NOATIME 01000000
+#define O_NDELAY O_NONBLOCK
#define F_DUPFD_CLOEXEC 1030
#define F_DUPFD_CLOEXEC 1030
+
+#ifdef _GNU_SOURCE
#define FAPPENT O_APPEND
#define FFSYNC O_FSYNC
#define FASYNC O_ASYNC
#define FAPPENT O_APPEND
#define FFSYNC O_FSYNC
#define FASYNC O_ASYNC