1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:07:35 +00:00

LibC: Define ptrdiff_t limits

This commit is contained in:
Tim Schumacher 2021-06-02 15:42:38 +02:00 committed by Andreas Kling
parent 328818af97
commit 230df61aef

View file

@ -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