Skip to content

Commit b042f5d

Browse files
krajakiernan
authored andcommitted
musl: Define O_LARGEFILE for riscv32
1 parent 518f6e4 commit b042f5d

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/musl/b32/riscv32

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/musl/b32/riscv32/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4;
355355
pub const __SIZEOF_PTHREAD_BARRIERATTR_T: usize = 4;
356356
pub const O_DIRECT: ::c_int = 16384;
357357
pub const O_DIRECTORY: ::c_int = 65536;
358+
pub const O_LARGEFILE: ::c_int = 0o0100000;
358359
pub const O_NOFOLLOW: ::c_int = 131072;
359360
pub const MAP_HUGETLB: ::c_int = 262144;
360361
pub const MAP_LOCKED: ::c_int = 8192;

0 commit comments

Comments
 (0)