| 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 | #endif /* STDINT_H */ |
| 20 |