ladybird/Userland/Libraries/LibC/bits
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
..
FILE.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
posix1_lim.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
pthread_forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
pthread_integration.h LibC+LibPthread: Add PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP 2021-07-05 23:30:15 +02:00
search.h LibC: Implement tfind and tsearch 2021-10-15 21:50:19 -07:00
sighow.h LibC: Move SIG_* definitions for sigprocmask into bits/sighow.h 2021-08-18 10:33:48 +02:00
stdint.h LibC: Make SIZE_MAX be understood by the preprocessor 2021-11-28 09:38:57 -08:00