mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
LibC: Define ptrdiff_t limits
This commit is contained in:
parent
328818af97
commit
230df61aef
Notes:
sideshowbarker
2024-07-18 03:53:25 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/230df61aef8 Pull-request: https://github.com/SerenityOS/serenity/pull/10058
1 changed files with 3 additions and 0 deletions
|
@ -123,4 +123,7 @@ typedef __INTMAX_TYPE__ intmax_t;
|
|||
|
||||
#define SIZE_MAX ((size_t)-1)
|
||||
|
||||
#define PTRDIFF_MAX __PTRDIFF_MAX__
|
||||
#define PTRDIFF_MIN (-__PTRDIFF_MAX__ - 1)
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Reference in a new issue