diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2024-12-10 14:57:04 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-10 18:51:31 +0100 |
commit | 88c774182baae04358b59e769c46e6ffb1562df4 (patch) | |
tree | 636d9d7398dd76ef719d6f1e289b444df00d8a60 /device/intr.c | |
parent | c438cc6adc172a76c71b7d6f248bfc3503c39bab (diff) | |
download | gnumach-88c774182baae04358b59e769c46e6ffb1562df4.tar.gz gnumach-88c774182baae04358b59e769c46e6ffb1562df4.tar.bz2 gnumach-88c774182baae04358b59e769c46e6ffb1562df4.zip |
linux: Fix building with C23
'true' and 'false' are keywords in C23. This will equally be an issue on
older standards if something pulls in stdbool.h, which make these into
macros. In either of these two cases, just typedef 'boolean' from
'bool' (avoiding the enum), and rely on 'true' and 'false' being valid
values of the type.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-ID: <20241210115705.710555-2-bugaevc@gmail.com>
Diffstat (limited to 'device/intr.c')
0 files changed, 0 insertions, 0 deletions