We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69ce75 commit f5d6ac1Copy full SHA for f5d6ac1
src/unix/linux_like/linux/mod.rs
@@ -322,7 +322,19 @@ s! {
322
}
323
324
pub struct input_event {
325
- pub time: ::timeval,
+ #[cfg(any(target_pointer_width = "64", not(gnu_time64_abi)))]
326
+ pub input_event_sec: ::time_t,
327
+ #[cfg(all(target_pointer_width = "32", gnu_time64_abi))]
328
+ pub input_event_sec: ::c_ulong,
329
+
330
331
+ pub input_event_usec: ::suseconds_t,
332
333
+ pub input_event_usec: ::c_ulong,
334
335
+ #[cfg(target_arch = "sparc64")]
336
+ _pad1: ::c_int,
337
338
pub type_: ::__u16,
339
pub code: ::__u16,
340
pub value: ::__s32,
0 commit comments