Skip to content

Commit f4d5a66

Browse files
committed
Auto merge of #3088 - cppcoffee:largefile, r=JohnTitor
uclibc/mips: add missing O_LARGEFILE constant Signed-off-by: Xiaobo Liu <[email protected]> This add the O_LARGEFILE constant on Linux and uclibc. It is defined as part of the uclibc in fcntl.h: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/fcntl.h#n73
2 parents e6496a1 + e4577a7 commit f4d5a66

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/uclibc/mips

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/uclibc/mips/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub const O_RSYNC: ::c_int = 0x10;
5151
pub const O_DSYNC: ::c_int = 0x10;
5252
pub const O_FSYNC: ::c_int = 0x10;
5353
pub const O_ASYNC: ::c_int = 0x1000;
54+
pub const O_LARGEFILE: ::c_int = 0x2000;
5455
pub const O_NDELAY: ::c_int = 0x80;
5556

5657
pub const SOCK_NONBLOCK: ::c_int = 128;

0 commit comments

Comments
 (0)