mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
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. |
||
---|---|---|
.. | ||
FILE.h | ||
posix1_lim.h | ||
pthread_forward.h | ||
pthread_integration.h | ||
search.h | ||
sighow.h | ||
stdint.h |