From fc50c1be588ddc4101f7b7bcab7f4fa741eb77e0 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 7 Feb 2019 21:18:06 +0100 Subject: [PATCH] lib: Support gcc-4.6.4: Add SSIZE_MAX macro. * include/stdint.h (SSIZE_MAX): New macro. --- include/stdint.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/stdint.h b/include/stdint.h index 327042be..6cc503a4 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -129,6 +129,8 @@ typedef long uintptr_t; #define SIZE_MAX UINT64_MAX #endif +#define SSIZE_MAX LONG_MAX + #endif // ! SYSTEM_LIBC #endif // __MES_STDINT_H