Skip to content

Commit

Permalink
fixup! linux: Update struct input_event for glibc _TIME_BITS=64
Browse files Browse the repository at this point in the history
  • Loading branch information
snogge committed Apr 26, 2024
1 parent ed9ef38 commit e17b81e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ s! {
pub struct input_event {
#[cfg(not(gnu_time64_abi))]
pub time: ::timeval,
#[cfg(gnu_time64_abi)]
pub __sec: ::c_ulong,
#[cfg(gnu_time64_abi)]
pub __usec: ::c_ulong,
#[cfg(all(gnu_time64_abi, not(target_arch = "x86")))]
__sec: ::c_ulong,
#[cfg(all(gnu_time64_abi, not(target_arch = "x86")))]
__usec: ::c_ulong,
pub type_: ::__u16,
pub code: ::__u16,
pub value: ::__s32,
Expand Down

0 comments on commit e17b81e

Please sign in to comment.