Thilo Graf e5ab98d5fc rcinput: ensure backward compatibility
supplement to commit:

 rcinput: Fix build issues with _TIME_BITS=64

- Ensured compatibility with various definitions of input_event structure
 as per input.h.
- Added conditional compilation to check for input_event_sec macro.
- Used input_event_sec and input_event_usec macros if defined.
- Provided fallback to direct timeval members for versions without
 the macros.

This ensures compatibility with both newer and older kernel versions,
different C library implementations, and possible standard settings of
build systems. Addressing different definitions of the input_event structure
maintains robustness across kernel, library, and build system configurations.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f65209c56c
Author: Thilo Graf <dbt@novatux.de>
Date: 2024-09-02 (Mon, 02 Sep 2024)

Origin message was:
------------------
rcinput: ensure backward compatibility

supplement to commit:

 rcinput: Fix build issues with _TIME_BITS=64

- Ensured compatibility with various definitions of input_event structure
 as per input.h.
- Added conditional compilation to check for input_event_sec macro.
- Used input_event_sec and input_event_usec macros if defined.
- Provided fallback to direct timeval members for versions without
 the macros.

This ensures compatibility with both newer and older kernel versions,
different C library implementations, and possible standard settings of
build systems. Addressing different definitions of the input_event structure
maintains robustness across kernel, library, and build system configurations.


------------------
This commit was generated by Migit
2024-09-02 21:06:01 +02:00
2024-05-21 23:39:33 +02:00
2024-06-07 22:15:01 +02:00
2019-04-24 13:49:02 +02:00
2019-04-16 23:42:51 +02:00
2021-09-17 23:20:40 +02:00
2024-05-21 23:39:33 +02:00
2019-04-24 13:33:34 +02:00
2022-12-03 21:48:05 +01:00
2021-11-07 20:08:44 +01:00

NI \o/ - Neutrino

Languages
C++ 85%
C 12.5%
Shell 0.6%
Makefile 0.6%
M4 0.5%
Other 0.7%