]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/glimits.h
2 #ifndef _MACH_MACHLIMITS_H_
4 /* _MACH_MACHLIMITS.H_ is used on OSF/1. */
6 #define _MACH_MACHLIMITS_H_
8 /* Number of bits in a `char'. */
12 /* No multibyte characters supported yet. */
16 /* Minimum and maximum values a `signed char' can hold. */
18 #define SCHAR_MIN (-128)
22 /* Maximum value an `unsigned char' can hold. (Minimum is 0). */
26 /* Minimum and maximum values a `char' can hold. */
27 #ifdef __CHAR_UNSIGNED__
34 #define CHAR_MIN (-128)
39 /* Minimum and maximum values a `signed short int' can hold. */
41 #define SHRT_MIN (-32768)
43 #define SHRT_MAX 32767
45 /* Maximum value an `unsigned short int' can hold. (Minimum is 0). */
47 #define USHRT_MAX 65535
49 /* Minimum and maximum values a `signed int' can hold. */
51 #define INT_MIN (-INT_MAX-1)
53 #define INT_MAX 2147483647
55 /* Maximum value an `unsigned int' can hold. (Minimum is 0). */
57 #define UINT_MAX 4294967295U
59 /* Minimum and maximum values a `signed long int' can hold.
62 #define LONG_MIN (-LONG_MAX-1)
64 #define LONG_MAX 2147483647L
66 /* Maximum value an `unsigned long int' can hold. (Minimum is 0). */
68 #define ULONG_MAX 4294967295UL
70 #endif /* _MACH_MACHLIMITS_H_ */
71 #endif /* _LIMITS_H */