Skip to content

Commit 7ba56f2

Browse files
snoggetgross35
authored andcommitted
gnu: Update struct aiocb for gnu_file_offset_bits64
1 parent 872642a commit 7ba56f2

File tree

1 file changed

+5
-1
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,11 @@ s_no_extra_traits! {
451451
__return_value: ssize_t,
452452
// FIXME(off64): visible fields depend on __USE_FILE_OFFSET64
453453
pub aio_offset: off_t,
454-
#[cfg(all(not(target_arch = "x86_64"), target_pointer_width = "32"))]
454+
#[cfg(all(
455+
not(gnu_file_offset_bits64),
456+
not(target_arch = "x86_64"),
457+
target_pointer_width = "32"
458+
))]
455459
__pad: [c_char; 4],
456460
__glibc_reserved: [c_char; 32],
457461
}

0 commit comments

Comments
 (0)