#ifndef _Logiscope_CISO99_stdint_h #define _Logiscope_CISO99_stdint_h typedef signed char int8_t; typedef short int16_t; typedef long int32_t; typedef long long int64_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned long uint32_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef short int_least16_t; typedef long int_least32_t; typedef long long int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short uint_least16_t; typedef unsigned long uint_least32_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef short int_fast16_t; typedef long int_fast32_t; typedef long long int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned short uint_fast16_t; typedef unsigned long uint_fast32_t; typedef unsigned long long uint_fast64_t; typedef long intptr_t; typedef unsigned long uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; /* Limits of exact-width integer types */ #define INT8_MIN (-128) #define INT16_MIN (-32768) #define INT32_MIN (-2147483648) #define INT64_MIN (-9223372036854775808) #define INT8_MAX (127) #define INT16_MAX (32767) #define INT32_MAX (2147483647) #define INT64_MAX (9223372036854775807) #define UINT8_MAX (255) #define UINT16_MAX (65535) #define UINT32_MAX (4294967295) #define UINT64_MAX (18446744073709551615) #define INT_LEAST8_MIN (-127) #define INT_LEAST16_MIN (-32767) #define INT_LEAST32_MIN (-2147483647) #define INT_LEAST64_MIN (-9223372036854775807) #define INT_LEAST8_MAX (127) #define INT_LEAST16_MAX (32767) #define INT_LEAST32_MAX (2147483647) #define INT_LEAST64_MAX (9223372036854775807) #define UINT_LEAST8_MAX (255) #define UINT_LEAST16_MAX (65535) #define UINT_LEAST32_MAX (4294967295) #define UINT_LEAST64_MAX (18446744073709551615) #define INT_FAST8_MIN (-127) #define INT_FAST16_MIN (-32767) #define INT_FAST32_MIN (-2147483647) #define INT_FAST64_MIN (-9223372036854775807) #define INT_FAST8_MAX (127) #define INT_FAST16_MAX (32767) #define INT_FAST32_MAX (2147483647) #define INT_FAST64_MAX (9223372036854775807) #define UINT_FAST8_MAX (255) #define UINT_FAST16_MAX (65535) #define UINT_FAST32_MAX (4294967295) #define UINT_FAST64_MAX (18446744073709551615) #define INTPTR_MIN (-32767) #define INTPTR_MAX (32767) #define UINTPTR_MAX (65535) #define INT8_C(x) (x) #define INT16_C(x) (x) #define INT32_C(x) ((x) + (INT32_MAX - INT32_MAX)) #define INT64_C(x) ((x) + (INT64_MAX - INT64_MAX)) #define UINT8_C(x) (x) #define UINT16_C(x) (x) #define UINT32_C(x) ((x) + (UINT32_MAX - UINT32_MAX)) #define UINT64_C(x) ((x) + (UINT64_MAX - UINT64_MAX)) #define INTMAX_C(x) ((x) + (INT64_MAX - INT64_MAX)) #define UINTMAX_C(x) ((x) + (UINT64_MAX - UINT64_MAX)) #define PTRDIFF_MIN (-65535) #define PTRDIFF_MAX (65535) #define SIG_ATOMIC_MIN (-2147483648) #define SIG_ATOMIC_MAX (2147483647) #define SIZE_MAX (65535) #ifndef _Logiscope_CISO99_WCHAR_MIN #define WCHAR_MIN (0) # define _Logiscope_CISO99_WCHAR_MIN #endif #ifndef _Logiscope_CISO99_WCHAR_MAX #define WCHAR_MAX (65535) # define _Logiscope_CISO99_WCHAR_MAX #endif #define WINT_MIN (0) #define WINT_MAX (65535) #define INTMAX_MIN (-9223372036854775807) #define INTMAX_MAX (9223372036854775807) #define UINTMAX_MAX (18446744073709551615) #endif /* _Logiscope_CISO99_stdint_h */