arch/arm: Fix types.h:61:9: error: unknown type name '__UINT32_TYPE__'

regressed by: https://github.com/apache/incubator-nuttx/pull/7476

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-05 04:21:46 +08:00 committed by Petro Karashchenko
parent 64ebdb0339
commit fbd886deb5

View File

@ -58,7 +58,11 @@ typedef unsigned short _uint16_t;
#ifdef __INT32_TYPE__
typedef __INT32_TYPE__ _int32_t;
# ifdef __UINT32_TYPE__
typedef __UINT32_TYPE__ _uint32_t;
# else
typedef unsigned __INT32_TYPE__ _uint32_t;
# endif
#else
typedef signed long _int32_t;
typedef unsigned long _uint32_t;