projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d01dfc
)
provide useless 64-bit fcntl macros with _LARGEFILE64_SOURCE
author
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 14:00:09 +0000
(10:00 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 14:00:09 +0000
(10:00 -0400)
this is all useless but part of the API, which is part of the
_GNU_SOURCE API, so something may need them.
include/fcntl.h
patch
|
blob
|
history
diff --git
a/include/fcntl.h
b/include/fcntl.h
index b797cd1a47caa3345c5c20e8135b0eee11a41f8d..3944e19860a142cc1def3e6fef7557b3c248d6d4 100644
(file)
--- a/
include/fcntl.h
+++ b/
include/fcntl.h
@@
-154,6
+154,9
@@
ssize_t tee(int, int, size_t, unsigned);
#endif
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
+#define F_GETLK64 F_GETLK
+#define F_SETLK64 F_SETLK
+#define F_SETLKW64 F_SETLKW
#define open64 open
#define openat64 openat
#define creat64 creat