We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f73482e commit f3b70e2Copy full SHA for f3b70e2
src/unix/linux_like/linux/gnu/b32/mod.rs
@@ -290,8 +290,16 @@ cfg_if! {
290
291
pub const PTRACE_DETACH: ::c_uint = 17;
292
293
- pub const F_SETLK: ::c_int = 6;
294
- pub const F_SETLKW: ::c_int = 7;
+ #[cfg(target_arch = "mips")]
+ pub const F_SETLK64: ::c_int = 34;
295
+ #[cfg(not(target_arch = "mips"))]
296
+ pub const F_SETLK64: ::c_int = 13;
297
298
+ pub const F_SETLKW64: ::c_int = 35;
299
300
+ pub const F_SETLKW64: ::c_int = 14;
301
+ pub const F_SETLK: ::c_int = F_SETLK64;
302
+ pub const F_SETLKW: ::c_int = F_SETLKW64;
303
304
pub const F_RDLCK: ::c_int = 0;
305
pub const F_WRLCK: ::c_int = 1;
0 commit comments