1 /* 2 * Copyright (C) 2017-2019 Alibaba Group Holding Limited 3 */ 4 5 6 #ifndef _PRIV_STDINT_H_ 7 #define _PRIV_STDINT_H_ 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 13 /* For newlib and minilibc utint32_t are not same */ 14 #undef _UINT32_T_DECLARED 15 #define _UINT32_T_DECLARED 16 typedef unsigned int uint32_t; 17 18 #undef _UINT64_T_DECLARED 19 #define _UINT64_T_DECLARED 20 typedef unsigned long long uint64_t; 21 22 23 #undef _INT32_T_DECLARED 24 #define _INT32_T_DECLARED 25 typedef signed int int32_t; 26 27 #undef _INT64_T_DECLARED 28 #define _INT64_T_DECLARED 29 typedef signed long long int64_t; 30 31 32 #include_next <sys/_stdint.h> 33 34 #ifdef __cplusplus 35 } 36 #endif 37 38 #endif 39