.pragma list(push, 0)

CHAR_BIT	equ 8		; number of bits in a char
ifdef _CHAR_UNSIGNED
CHAR_MAX	equ 255
CHAR_MIN	equ 0
else
CHAR_MAX	equ 127
CHAR_MIN	equ (-127-1)
endif
SCHAR_MAX	equ 127
SCHAR_MIN	equ (-127-1)
UCHAR_MAX	equ 255

_I8_MIN		equ (-127-1)
_I8_MAX		equ 127
_UI8_MAX	equ 0xff
_I16_MIN	equ (-32767-1)
_I16_MAX	equ 32767
_UI16_MAX	equ 0xFFFF
_I32_MIN	equ (-2147483647-1)
_I32_MAX	equ 2147483647
_UI32_MAX	equ 0xFFFFFFFF
_I64_MIN	equ (-9223372036854775807-1)
_I64_MAX	equ 9223372036854775807
_UI64_MAX	equ 0xFFFFFFFFFFFFFFFF

MB_LEN_MAX	equ 2
SHRT_MAX	equ 0x7FFF
SHRT_MIN	equ (-32767-1)
USHRT_MAX	equ 0xFFFF
INT_MAX		equ 2147483647
INT_MIN		equ (-2147483647-1)
UINT_MAX	equ 0xFFFFFFFF
LONG_MAX	equ 2147483647
LONG_MIN	equ (-2147483647-1)
ULONG_MAX	equ 0xFFFFFFFF
LLONG_MAX	equ 9223372036854775807
LLONG_MIN	equ (-9223372036854775807-1)
ULLONG_MAX	equ 0xFFFFFFFFFFFFFFFF

ifndef SIZE_MAX
ifdef _WIN64
SIZE_MAX	equ _UI64_MAX
else
SIZE_MAX	equ UINT_MAX
endif
endif

.pragma list(pop)
