File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/unix/linux_like/linux/arch/generic Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ cfg_if! {
9494 // But they may still not have those _OLD ones.
9595 if #[ cfg( all( any( target_arch = "x86" ,
9696 target_arch = "x86_64" ,
97- target_arch = "aarch64" ) ,
97+ target_arch = "aarch64" ,
98+ target_arch = "loongarch64" ) ,
9899 not( any( target_env = "musl" , target_env = "ohos" ) ) ) ) ] {
99100 pub const SO_TIMESTAMP_NEW : :: c_int = 63 ;
100101 pub const SO_TIMESTAMPNS_NEW : :: c_int = 64 ;
@@ -113,7 +114,8 @@ cfg_if! {
113114 target_arch = "arm" ,
114115 target_arch = "aarch64" ,
115116 target_arch = "riscv64" ,
116- target_arch = "s390x" ) ) ] {
117+ target_arch = "s390x" ,
118+ target_arch = "loongarch64" ) ) ] {
117119 pub const FICLONE : :: c_ulong = 0x40049409 ;
118120 pub const FICLONERANGE : :: c_ulong = 0x4020940D ;
119121 }
You can’t perform that action at this time.
0 commit comments