Files
main/x11/library/libexplain/files/libexplain-1.4-largefile.patch
T
2021-03-19 20:02:19 +03:00

20 lines
460 B
Diff

Index: libexplain/ac/fcntl.h
===================================================================
--- libexplain/ac/fcntl.h.orig
+++ libexplain/ac/fcntl.h
@@ -65,8 +65,14 @@
* flags values returned by the kernel.
*/
#if defined(__linux__) && (O_LARGEFILE == 0)
+#if defined(__aarch64__)
+#define O_LARGEFILE_HIDDEN 0400000
+#elif defined(__powerpc64__)
+#define O_LARGEFILE_HIDDEN 0200000
+#else
#define O_LARGEFILE_HIDDEN 0100000
#endif
+#endif
/*