Skip to content

Commit cf9c316

Browse files
committed
gnu: Adapt struct flock on mips for gnu_file_offset_bits64
1 parent 0533a56 commit cf9c316

File tree

1 file changed

+3
-1
lines changed
  • src/unix/linux_like/linux/gnu/b32/mips

1 file changed

+3
-1
lines changed

src/unix/linux_like/linux/gnu/b32/mips/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,11 @@ s! {
190190
pub l_whence: c_short,
191191
pub l_start: off_t,
192192
pub l_len: off_t,
193+
#[cfg(not(gnu_file_offset_bits64))]
193194
pub l_sysid: c_long,
194195
pub l_pid: crate::pid_t,
195-
pad: [c_long; 4],
196+
#[cfg(not(gnu_file_offset_bits64))]
197+
__glibc_reserved0: [c_long; 4],
196198
}
197199
}
198200

0 commit comments

Comments
 (0)