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
Notes: sideshowbarker 2024-07-18 03:53:25 +09:00

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