1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef __STDINT_H
- #define __STDINT_H
- #include "limits.h"
- typedef signed char int8_t;
- typedef signed short int16_t;
- typedef signed int int32_t;
- typedef signed long long int64_t;
- typedef unsigned char uint8_t;
- typedef unsigned short uint16_t;
- typedef unsigned int uint32_t;
- typedef unsigned long long uint64_t;
- typedef signed char int_fast8_t;
- typedef signed short int_fast16_t;
- typedef signed int int_fast32_t;
- typedef signed long long int_fast64_t;
- typedef unsigned char uint_fast8_t;
- typedef unsigned short uint_fast16_t;
- typedef unsigned int uint_fast32_t;
- typedef unsigned long long uint_fast64_t;
- typedef signed char int_least8_t;
- typedef signed short int_least16_t;
- typedef signed int int_least32_t;
- typedef signed long long int_least64_t;
- typedef unsigned char uint_least8_t;
- typedef unsigned short uint_least16_t;
- typedef unsigned int uint_least32_t;
- typedef unsigned long long uint_least64_t;
- typedef int32_t intptr_t;
- typedef uint32_t uintptr_t;
- typedef int64_t intmax_t;
- typedef uint64_t uintmax_t;
- #define INT8_C(x) x
- #define INT16_C(x) x
- #define INT32_C(x) x
- #define INT64_C(x) x ## L
- #define UINT8_C(x) x
- #define UINT16_C(x) x
- #define UINT32_C(x) x ## U
- #define UINT64_C(x) x ## UL
- #define INTMAX_C(x) x ## L
- #define UINTMAX_C(x) x ## UL
- #define PTRDIFF_MIN INT_MIN
- #define PTRDIFF_MAX INT_MAX
- #define SIZE_MAX UINT_MAX
- #endif
|