1 #ifndef _INFRA_TYPES_H_
2 #define _INFRA_TYPES_H_
3 
4 #include <stddef.h>
5 
6 #include "linkkit/infra/infra_config.h"
7 
8 #define IOT_TRUE  (1) /* indicate boolean value true */
9 #define IOT_FALSE (0) /* indicate boolean value false */
10 
11 #if !defined(PLATFORM_HAS_STDINT)
12 
13 typedef unsigned char uint8_t;
14 typedef signed char int8_t;
15 typedef unsigned short uint16_t;
16 typedef signed short int16_t;
17 typedef unsigned int uint32_t;
18 typedef signed int int32_t;
19 typedef unsigned long int uint64_t;
20 typedef signed long int int64_t;
21 typedef unsigned int uintptr_t;
22 
23 #else
24 
25 #include <stdint.h>
26 
27 #endif /* #if !defined(PLATFORM_HAS_STDINT) */
28 
29 #endif
30