mirror of
https://git.proxmox.com/git/rustc
synced 2026-08-08 19:16:03 +00:00
Don't use tabs in patch
This commit is contained in:
parent
bbceb41b0a
commit
356c198cc8
20
debian/patches/d-sparc64-fix-fnctls.patch
vendored
20
debian/patches/d-sparc64-fix-fnctls.patch
vendored
@ -18,17 +18,17 @@ Index: rustc-1.31.0+dfsg1/src/librustc_data_structures/flock.rs
|
||||
- pub const F_SETLKW: libc::c_int = 7;
|
||||
+ cfg_if! {
|
||||
+ if #[cfg(target_arch = "sparc64")] {
|
||||
+ pub const F_RDLCK: libc::c_short = 1;
|
||||
+ pub const F_WRLCK: libc::c_short = 2;
|
||||
+ pub const F_UNLCK: libc::c_short = 3;
|
||||
+ pub const F_SETLK: libc::c_int = 8;
|
||||
+ pub const F_SETLKW: libc::c_int = 9;
|
||||
+ pub const F_RDLCK: libc::c_short = 1;
|
||||
+ pub const F_WRLCK: libc::c_short = 2;
|
||||
+ pub const F_UNLCK: libc::c_short = 3;
|
||||
+ pub const F_SETLK: libc::c_int = 8;
|
||||
+ pub const F_SETLKW: libc::c_int = 9;
|
||||
+ } else {
|
||||
+ pub const F_RDLCK: libc::c_short = 0;
|
||||
+ pub const F_WRLCK: libc::c_short = 1;
|
||||
+ pub const F_UNLCK: libc::c_short = 2;
|
||||
+ pub const F_SETLK: libc::c_int = 6;
|
||||
+ pub const F_SETLKW: libc::c_int = 7;
|
||||
+ pub const F_RDLCK: libc::c_short = 0;
|
||||
+ pub const F_WRLCK: libc::c_short = 1;
|
||||
+ pub const F_UNLCK: libc::c_short = 2;
|
||||
+ pub const F_SETLK: libc::c_int = 6;
|
||||
+ pub const F_SETLKW: libc::c_int = 7;
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user