Skip to content

Commit c553ad5

Browse files
snoggetgross35
authored andcommitted
gnu: Update struct aiocb for gnu_file_offset_bits64
(backport <rust-lang#4345>) (cherry picked from commit 7ba56f2)
1 parent 394f97f commit c553ad5

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
@@ -32,7 +32,11 @@ s! {
3232
__error_code: c_int,
3333
__return_value: ssize_t,
3434
pub aio_offset: off_t,
35-
#[cfg(all(not(target_arch = "x86_64"), target_pointer_width = "32"))]
35+
#[cfg(all(
36+
not(gnu_file_offset_bits64),
37+
not(target_arch = "x86_64"),
38+
target_pointer_width = "32"
39+
))]
3640
__unused1: [c_char; 4],
3741
__glibc_reserved: [c_char; 32],
3842
}

0 commit comments

Comments
 (0)