1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00
serenity/Userland
Daniel Bertalan 87d548c520 LibC: Make SIZE_MAX be understood by the preprocessor
POSIX mandates that the macros contained in `stdint.h` be suitable for
use by the C preprocessor.

If we write `((size_t)-1)`, the C preprocessor will just skip the cast
and treat the value as `-1`. This means that we end up taking the wrong
branch in an `#if` directive like `#if SIZE_MAX > UINT32_MAX`.

This fixes building the LLVM port on i686.
2021-11-28 09:38:57 -08:00
..
Applets Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Applications LibGUI: Move GUI::SettingsWindow setup out of the constructor 2021-11-28 08:54:22 +01:00
Demos Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
DevTools Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Libraries LibC: Make SIZE_MAX be understood by the preprocessor 2021-11-28 09:38:57 -08:00
Services Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Shell AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
Utilities Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00