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 1ea7c90 commit 15e1f01Copy full SHA for 15e1f01
src/unix/linux_like/linux/mod.rs
@@ -326,7 +326,19 @@ s! {
326
}
327
328
pub struct input_event {
329
- pub time: crate::timeval,
+ #[cfg(any(target_pointer_width = "64", not(linux_time_bits64)))]
330
+ pub input_event_sec: time_t,
331
+ #[cfg(all(target_pointer_width = "32", linux_time_bits64))]
332
+ pub input_event_sec: c_ulong,
333
+
334
335
+ pub input_event_usec: suseconds_t,
336
337
+ pub input_event_usec: c_ulong,
338
339
+ #[cfg(target_arch = "sparc64")]
340
+ _pad1: c_int,
341
342
pub type_: __u16,
343
pub code: __u16,
344
pub value: __s32,
0 commit comments