12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef ZEPHYR_INCLUDE_TOOLCHAIN_STDINT_H_
- #define ZEPHYR_INCLUDE_TOOLCHAIN_STDINT_H_
- #if __SIZEOF_INT__ != 4
- #error "unexpected int width"
- #endif
- #undef __INT32_TYPE__
- #undef __UINT32_TYPE__
- #undef __INT_LEAST32_TYPE__
- #undef __UINT_LEAST32_TYPE__
- #undef __INT64_TYPE__
- #undef __UINT64_TYPE__
- #define __INT32_TYPE__ int
- #define __UINT32_TYPE__ unsigned int
- #define __INT_LEAST32_TYPE__ __INT32_TYPE__
- #define __UINT_LEAST32_TYPE__ __UINT32_TYPE__
- #define __INT64_TYPE__ long long int
- #define __UINT64_TYPE__ unsigned long long int
- #if __SIZEOF_POINTER__ != __SIZEOF_LONG__
- #error "unexpected size difference between pointers and long ints"
- #endif
- #undef __INTPTR_TYPE__
- #undef __UINTPTR_TYPE__
- #define __INTPTR_TYPE__ long int
- #define __UINTPTR_TYPE__ long unsigned int
- #endif
|