Skip to content

Commit d47792a

Browse files
committed
Auto merge of #2710 - kraj:rv32, r=Amanieu
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]>
2 parents db8c677 + 08e0353 commit d47792a

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)