libevdev/libevdev
Michael Forney 06ef34c86b Add fallback min/max for compilers that don't have statement expressions
Statement expressions are a GNU C extension and are not available
in ISO C.

On compilers that don't have them, define these macros as plain
conditional expressions, since they are only ever used with expressions
that have no side-effects.

The statement-expression version is still retained as an added
safety measure on GNU-compatible compilers.

Signed-off-by: Michael Forney <mforney@mforney.org>
2020-02-05 20:30:39 -08:00
..
.gitignore Review/update .gitignore files 2013-11-19 09:34:23 +10:00
libevdev-int.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev-names.c Add a code-based name lookup function 2019-03-21 00:55:32 +00:00
libevdev-uinput-int.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev-uinput.c uinput: support the new UI_DEV_SETUP/UI_ABS_SETUP ioctls 2016-04-07 11:06:19 +10:00
libevdev-uinput.h uinput: make a note that the syspath we return is the input node 2017-07-03 09:55:29 +10:00
libevdev-util.h Add fallback min/max for compilers that don't have statement expressions 2020-02-05 20:30:39 -08:00
libevdev.c Initialize the slots correctly when enabling ABS_MT_SLOT 2019-06-18 09:31:41 +10:00
libevdev.h doc: Fix function names in simple code example 2019-09-13 15:30:57 +10:00
libevdev.sym Add a code-based name lookup function 2019-03-21 00:55:32 +00:00
make-event-names.py make-event-names.py should take the files as argument 2019-10-23 03:13:50 +00:00
Makefile.am make-event-names.py should take the files as argument 2019-10-23 03:13:50 +00:00