Skip to content

Commit a74f699

Browse files
committed
musl: Define O_LARGEFILE for riscv32
1 parent 750b32d commit a74f699

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
@@ -371,6 +371,7 @@ pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4;
371371
pub const __SIZEOF_PTHREAD_BARRIERATTR_T: usize = 4;
372372
pub const O_DIRECT: ::c_int = 16384;
373373
pub const O_DIRECTORY: ::c_int = 65536;
374+
pub const O_LARGEFILE: ::c_int = 0o0100000;
374375
pub const O_NOFOLLOW: ::c_int = 131072;
375376
pub const MAP_HUGETLB: ::c_int = 262144;
376377
pub const MAP_LOCKED: ::c_int = 8192;

0 commit comments

Comments
 (0)