Displaying 1 result from an estimated 1 matches for "ed703a6".
Did you mean:
d70326
2019 Jan 21
0
[klibc:master] fcntl: Fix struct flock for 32-bit architectures
...n of struct flock and define
it ourselves with 64-bit offsets.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/include/fcntl.h | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/usr/include/fcntl.h b/usr/include/fcntl.h
index b08c7c8..ed703a6 100644
--- a/usr/include/fcntl.h
+++ b/usr/include/fcntl.h
@@ -11,17 +11,30 @@
#include <sys/types.h>
#if defined(__mips__) && ! defined(__mips64)
# include <klibc/archfcntl.h>
+#elif _BITSIZE == 32
+/* We want a struct flock with 64-bit offsets, which we define below */
+# d...