mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
LibC: Define SIZE_MAX
According to the internet, this is a safe way to define SIZE_MAX. There may be a better way to do it, but this worked for me.
This commit is contained in:
parent
4e004a664f
commit
c0ba6f69f0
Notes:
sideshowbarker
2024-07-19 12:53:55 +09:00
Author: https://github.com/deoxxa Commit: https://github.com/SerenityOS/serenity/commit/c0ba6f69f08 Pull-request: https://github.com/SerenityOS/serenity/pull/405
@ -104,4 +104,6 @@ typedef __INTMAX_TYPE__ intmax_t;
|
||||
#define INT64_C(x) x##LL
|
||||
#define UINT64_C(x) x##ULL
|
||||
|
||||
#define SIZE_MAX ((size_t)-1)
|
||||
|
||||
__END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user