Skip to content

Commit

Permalink
add csky to linux/arch/generic.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirreke committed Jul 26, 2023
1 parent 2a4d438 commit a5a426d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/linux_like/linux/arch/generic/mod.rs
Expand Up @@ -95,6 +95,7 @@ cfg_if! {
if #[cfg(all(any(target_arch = "x86",
target_arch = "x86_64",
target_arch = "aarch64",
target_arch = "csky",
target_arch = "loongarch64"),
not(any(target_env = "musl", target_env = "ohos"))))] {
pub const SO_TIMESTAMP_NEW: ::c_int = 63;
Expand All @@ -115,6 +116,7 @@ cfg_if! {
target_arch = "aarch64",
target_arch = "riscv64",
target_arch = "s390x",
target_arch = "csky",
target_arch = "loongarch64"))] {
pub const FICLONE: ::c_ulong = 0x40049409;
pub const FICLONERANGE: ::c_ulong = 0x4020940D;
Expand Down

0 comments on commit a5a426d

Please sign in to comment.