libfdt: Add INT32_MAX and UINT32_MAX in libfdt_env.h

Add two macros in preparation to sync libfdt codes to latest v1.5.1
release from upstream.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Цей коміт міститься в:
Bin Meng authored and Anup Patel committed 2020-03-13 10:23:31 +05:30
1 джерело 4b2f594b85
коміт 0cfe49ad63
1 file changed
+2
+2
Переглянути файл
@@ -57,6 +57,8 @@
#define INT_MAX ((int)(~0U >> 1))
#define UINT_MAX ((unsigned int)~0U)
#define INT32_MAX INT_MAX
#define UINT32_MAX UINT_MAX
#ifdef __CHECKER__
#define FDT_FORCE __attribute__((force))