Adding upstream version 3.53.
[syslinux-debian/hramrach.git] / com32 / include / limits.h
blob64ef974f7f6a8dac2960bcdc28607dbcc7e9e0ef
1 /*
2 * limits.h
3 */
5 #ifndef _LIMITS_H
6 #define _LIMITS_H
8 #define CHAR_BIT 8
9 #define SHRT_BIT 16
10 #define INT_BIT 32
11 #define LONGLONG_BIT 64
13 #define SCHAR_MIN (-128)
14 #define SCHAR_MAX 127
15 #define UCHAR_MAX 255
17 #ifdef __CHAR_UNSIGNED__
18 # define CHAR_MIN 0
19 # define CHAR_MAX UCHAR_MAX
20 #else
21 # define CHAR_MIN SCHAR_MIN
22 # define CHAR_MAX SCHAR_MAX
23 #endif
25 #define SHRT_MIN (-32768)
26 #define SHRT_MAX 32767
27 #define USHRT_MAX 65535
29 #define INT_MIN (-2147483647-1)
30 #define INT_MAX 2147483647
31 #define UINT_MAX 4294967295U
33 #define LONGLONG_MIN (-9223372036854775807LL-1)
34 #define LONGLONG_MAX 9223372036854775807LL
35 #define ULONGLONG_MAX 18446744073709551615ULL
37 #include <bitsize/limits.h>
39 #endif /* _LIMITS_H */