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! {
94
94
// But they may still not have those _OLD ones.
95
95
if #[ cfg( all( any( target_arch = "x86" ,
96
96
target_arch = "x86_64" ,
97
- target_arch = "aarch64" ) ,
97
+ target_arch = "aarch64" ,
98
+ target_arch = "loongarch64" ) ,
98
99
not( any( target_env = "musl" , target_env = "ohos" ) ) ) ) ] {
99
100
pub const SO_TIMESTAMP_NEW : :: c_int = 63 ;
100
101
pub const SO_TIMESTAMPNS_NEW : :: c_int = 64 ;
@@ -113,7 +114,8 @@ cfg_if! {
113
114
target_arch = "arm" ,
114
115
target_arch = "aarch64" ,
115
116
target_arch = "riscv64" ,
116
- target_arch = "s390x" ) ) ] {
117
+ target_arch = "s390x" ,
118
+ target_arch = "loongarch64" ) ) ] {
117
119
pub const FICLONE : :: c_ulong = 0x40049409 ;
118
120
pub const FICLONERANGE : :: c_ulong = 0x4020940D ;
119
121
}
You can’t perform that action at this time.
0 commit comments