We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6ffc36 commit 87230e4Copy full SHA for 87230e4
src/unix/linux_like/linux/gnu/b32/mod.rs
@@ -260,8 +260,16 @@ cfg_if! {
260
261
pub const PTRACE_DETACH: ::c_uint = 17;
262
263
- pub const F_SETLK: ::c_int = 6;
264
- pub const F_SETLKW: ::c_int = 7;
+ #[cfg(target_arch = "mips")]
+ pub const F_SETLK64: ::c_int = 34;
265
+ #[cfg(not(target_arch = "mips"))]
266
+ pub const F_SETLK64: ::c_int = 13;
267
268
+ pub const F_SETLKW64: ::c_int = 35;
269
270
+ pub const F_SETLKW64: ::c_int = 14;
271
+ pub const F_SETLK: ::c_int = F_SETLK64;
272
+ pub const F_SETLKW: ::c_int = F_SETLKW64;
273
274
pub const F_RDLCK: ::c_int = 0;
275
pub const F_WRLCK: ::c_int = 1;
0 commit comments