1 #ifndef STDINT_H 2 #define STDINT_H 3 4 #ifdef __INT32_TYPE__ 5 typedef unsigned __INT32_TYPE__ uint32_t; 6 #endif 7 8 #ifdef __INT64_TYPE__ 9 typedef unsigned __INT64_TYPE__ uint64_t; 10 #endif 11 12 #ifdef __INTPTR_TYPE__ 13 typedef __INTPTR_TYPE__ intptr_t; 14 typedef unsigned __INTPTR_TYPE__ uintptr_t; 15 #else 16 #error Every target should have __INTPTR_TYPE__ 17 #endif 18 19 #ifdef __INTPTR_MAX__ 20 #define INTPTR_MAX __INTPTR_MAX__ 21 #endif 22 23 #ifdef __UINTPTR_MAX__ 24 #define UINTPTR_MAX __UINTPTR_MAX__ 25 #endif 26 27 #endif /* STDINT_H */ 28