Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/78269?usp=email )
Change subject: include/stddef: define SIZE_MAX ......................................................................
include/stddef: define SIZE_MAX
It's needed for future work.
Change-Id: I3419d11072bc0e3791ad08144c2a25c607550f28 Signed-off-by: Patrick Georgi patrick@coreboot.org --- M src/include/stddef.h 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/78269/1
diff --git a/src/include/stddef.h b/src/include/stddef.h index 484017d..82d38c3 100644 --- a/src/include/stddef.h +++ b/src/include/stddef.h @@ -7,6 +7,7 @@
typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef __SIZE_TYPE__ size_t; +#define SIZE_MAX __SIZE_MAX__ /* There is a GCC macro for a size_t type, but not * for a ssize_t type. Below construct tricks GCC * into making __SIZE_TYPE__ signed.