Skip to content

Commit

Permalink
fixup! gnu: Update struct timespec for _TIME_BITS=64
Browse files Browse the repository at this point in the history
  • Loading branch information
snogge committed Jun 18, 2024
1 parent 989465c commit a579b42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ s! {
pub tv_sec: time_t,
#[cfg(all(gnu_time64_abi, target_endian = "big"))]
__pad: i32,
#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
#[cfg(all(not(target_env = "gnu"), target_arch = "x86_64", target_pointer_width = "32"))]
pub tv_nsec: i64,
#[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))]
#[cfg(any(target_env = "gnu", not(all(target_arch = "x86_64", target_pointer_width = "32"))))]
pub tv_nsec: ::c_long,
#[cfg(all(gnu_time64_abi, any(target_arch = "x86", target_arch = "arm")))]
#[cfg(all(gnu_time64_abi, target_endian = "little"))]
__pad: i32,
}

Expand Down

0 comments on commit a579b42

Please sign in to comment.