Skip to content

Commit 08e0353

Browse files
committed
riscv32: Define O_LARGEFILE
Some applications (e.g. nix) use this define and expect it to come from libc Signed-off-by: Khem Raj <[email protected]>
1 parent ac40e64 commit 08e0353

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ s! {
198198
}
199199
}
200200

201+
pub const O_LARGEFILE: ::c_int = 0;
201202
pub const VEOF: usize = 4;
202203
pub const RTLD_DEEPBIND: ::c_int = 0x8;
203204
pub const RTLD_GLOBAL: ::c_int = 0x100;

0 commit comments

Comments
 (0)