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>
This commit is contained in:
Bin Meng
2020-03-11 22:46:27 -07:00
committed by Anup Patel
parent 4b2f594b85
commit 0cfe49ad63

View File

@@ -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))