]>
gcc.gnu.org Git - 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 #if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__)
71 /* Minimum and maximum values a `signed long long int' can hold. */
73 #define LONG_LONG_MIN (-LONG_LONG_MAX-1)
75 #define LONG_LONG_MAX 9223372036854775807LL
77 /* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */
79 #define ULONG_LONG_MAX 18446744073709551615ULL
82 #endif /* _MACH_MACHLIMITS_H_ */
83 #endif /* _LIMITS_H___ */
This page took 0.038851 seconds and 5 git commands to generate.