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