From cbb0110c2fcf68cdd6481a7ecfe91ca723eb4cd0 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Fri, 10 Apr 2020 16:15:31 -0400 Subject: [PATCH] [liba] Define UINT8_MAX This will be needed in python to check that some QSTRs aren't too big. And it doesn't cost anything to add it straight away. --- liba/include/stdint.h | 1 + 1 file changed, 1 insertion(+) diff --git a/liba/include/stdint.h b/liba/include/stdint.h index 1b6397153..1096e5ab1 100644 --- a/liba/include/stdint.h +++ b/liba/include/stdint.h @@ -26,6 +26,7 @@ typedef int64_t int_fast64_t; typedef uint8_t uint_least8_t; +#define UINT8_MAX 0xff #define UINT16_MAX 0xffff #define INT16_MAX 0x7fff