mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
e5ab98d5fc360a924a7db9feb88668fc6938cb9e
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
…
…
…
NI \o/ - Neutrino
Description
Languages
C++
85%
C
12.5%
Shell
0.6%
Makefile
0.6%
M4
0.5%
Other
0.7%