1 2 // automatically generated by m4 from headers in proto subdir 3 4 5 #ifndef __LIMITS_H__ 6 #define __LIMITS_H__ 7 8 extern unsigned char _MAX_OPEN[]; 9 #define OPEN_MAX ((unsigned int)_MAX_OPEN) 10 11 #define CHAR_BIT 8 12 13 #define SCHAR_MIN -128 14 #define SCHAR_MAX 127 15 #define UCHAR_MAX 255U 16 17 #define SHRT_MIN -32768 18 #define SHRT_MAX 32767 19 #define USHRT_MAX 65535U 20 21 #define INT_MIN -32768 22 #define INT_MAX 32767 23 #define UINT_MAX 65535U 24 25 #define LONG_MIN -2147483648L 26 #define LONG_MAX 2147483647L 27 #define ULONG_MAX 4294967295UL 28 29 #ifdef __CLANG 30 31 #define LLONG_MIN -9223372036854775808LL 32 #define LLONG_MAX 9223372036854775807LL 33 #define ULLONG_MAX 18446744073709551615ULL 34 35 #endif 36 37 #ifdef __SDCC 38 39 #define LLONG_MIN -9223372036854775808LL 40 #define LLONG_MAX 9223372036854775807LL 41 #define ULLONG_MAX 18446744073709551615ULL 42 43 #endif 44 45 #endif 46