|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_STDINT_H_
8#define ZEPHYR_INCLUDE_TOOLCHAIN_STDINT_H_
19#if __SIZEOF_INT__ != 4
20#error "unexpected int width"
25#undef __INT_FAST32_TYPE__
26#undef __UINT_FAST32_TYPE__
27#undef __INT_LEAST32_TYPE__
28#undef __UINT_LEAST32_TYPE__
31#undef __INT_FAST64_TYPE__
32#undef __UINT_FAST64_TYPE__
33#undef __INT_LEAST64_TYPE__
34#undef __UINT_LEAST64_TYPE__
36#define __INT32_TYPE__ int
37#define __UINT32_TYPE__ unsigned int
38#define __INT_FAST32_TYPE__ __INT32_TYPE__
39#define __UINT_FAST32_TYPE__ __UINT32_TYPE__
40#define __INT_LEAST32_TYPE__ __INT32_TYPE__
41#define __UINT_LEAST32_TYPE__ __UINT32_TYPE__
42#define __INT64_TYPE__ long long int
43#define __UINT64_TYPE__ unsigned long long int
44#define __INT_FAST64_TYPE__ __INT64_TYPE__
45#define __UINT_FAST64_TYPE__ __UINT64_TYPE__
46#define __INT_LEAST64_TYPE__ __INT64_TYPE__
47#define __UINT_LEAST64_TYPE__ __UINT64_TYPE__
56#if __SIZEOF_POINTER__ != __SIZEOF_LONG__
57#error "unexpected size difference between pointers and long ints"
61#undef __UINTPTR_TYPE__
62#define __INTPTR_TYPE__ long int
63#define __UINTPTR_TYPE__ long unsigned int
75#define __UINT32_C(c) c ## U
76#define __INT64_C(c) c ## LL
77#define __UINT64_C(c) c ## ULL