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