Files
ladybird/Userland/Libraries/LibC
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
..
2021-08-14 22:32:00 +01:00
2021-08-14 22:32:00 +01:00
2021-06-06 22:16:11 +02:00
2021-07-15 11:16:58 +02:00
2021-07-17 13:00:33 +02:00
2021-10-17 23:43:43 +01:00
2021-10-26 08:47:06 +02:00
2021-10-15 21:50:19 -07:00
2021-10-20 09:20:18 +01:00
2021-08-31 01:37:30 +02:00
2021-08-18 10:33:48 +02:00
2021-10-31 12:00:57 +01:00
2021-10-15 14:47:41 -07:00
2021-09-23 18:51:21 +02:00
2021-10-21 23:57:32 -07:00
2021-10-17 17:09:58 +01:00