#ifndef STDINT_H #define STDINT_H typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; typedef unsigned long u64; typedef char i8; typedef short i16; typedef int i32; typedef long i64; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long uint64_t; typedef char int8_t; typedef short int16_t; typedef int int32_t; typedef long int64_t; typedef uint64_t size_t; typedef uint64_t uintptr_t; typedef int32_t int_fast16_t; typedef int32_t int_fast32_t; typedef uint32_t uint_fast16_t; typedef uint32_t uint_fast32_t; #define INT8_MIN (-128) #define INT16_MIN (-32767 - 1) #define INT32_MIN (-2147483647 - 1) #define INT64_MIN (-__INT64_C(9223372036854775807) - 1) #define INT8_MAX (127) #define INT16_MAX (32767) #define INT32_MAX (2147483647) #define INT64_MAX (__INT64_C(9223372036854775807)) #define UINT8_MAX (255) #define UINT16_MAX (65535) #define UINT32_MAX (4294967295U) #define UINT64_MAX (__UINT64_C(18446744073709551615)) #define INT_FAST16_MIN INT32_MIN #define INT_FAST32_MIN INT32_MIN #define INT_FAST16_MAX INT32_MAX #define INT_FAST32_MAX INT32_MAX #define UINT_FAST16_MAX UINT32_MAX #define UINT_FAST32_MAX UINT32_MAX #define INTPTR_MIN INT64_MIN #define INTPTR_MAX INT64_MAX #define UINTPTR_MAX UINT64_MAX #define PTRDIFF_MIN INT64_MIN #define PTRDIFF_MAX INT64_MAX #define SIZE_MAX UINT64_MAX #endif // STDINT_H