tcc-stupidos/libtcc1/include/stdint.h
2025-03-01 10:28:53 +01:00

37 lines
No EOL
939 B
C

#ifndef _STDINT_H_
# define _STDINT_H_ 1
typedef __UINT8_TYPE__ uint8_t;
typedef __UINT16_TYPE__ uint16_t;
typedef __UINT32_TYPE__ uint32_t;
typedef __UINT64_TYPE__ uint64_t;
typedef __INT8_TYPE__ int8_t;
typedef __INT16_TYPE__ int16_t;
typedef __INT32_TYPE__ int32_t;
typedef __INT64_TYPE__ int64_t;
typedef __UINTPTR_TYPE__ uintptr_t;
typedef __INTPTR_TYPE__ intptr_t;
# define UINT8_C(x) __UINT8_C(x)
# define UINT16_C(x) __UINT16_C(x)
# define UINT32_C(x) __UINT32_C(x)
# define UINT64_C(x) __UINT64_C(x)
# define INT8_C(x) __INT8_C(x)
# define INT16_C(x) __INT16_C(x)
# define INT32_C(x) __INT32_C(x)
# define INT64_C(x) __INT64_C(x)
# define UINT8_MAX __UINT8_MAX__
# define UINT16_MAX __UINT16_MAX__
# define UINT32_MAX __UINT32_MAX__
# define UINT64_MAX __UINT64_MAX__
# define INT8_MAX __INT8_MAX__
# define INT16_MAX __INT16_MAX__
# define INT32_MAX __INT32_MAX__
# define INT64_MAX __INT64_MAX__
#endif /* !_STDINT_H_ */