2 * limits.h - implementation limits
4 /* $Id: limits.h,v 1.4 1994/06/24 11:40:53 ceriel Exp $ */
6 #if !defined(_LIMITS_H)
10 #define SCHAR_MIN -128
15 #define SHRT_MIN (-32767 - 1)
16 #define SHRT_MAX 32767
17 #define USHRT_MAX 65535U
19 #define LONG_MIN (-2147483647L - 1L)
20 #define LONG_MAX 2147483647L
21 #define ULONG_MAX 4294967295UL
23 /* Assume signed characters (yegh) */
24 #define CHAR_MAX SCHAR_MAX
25 #define CHAR_MIN SCHAR_MIN
28 #define INT_MIN SHRT_MIN
29 #define INT_MAX SHRT_MAX
30 #define UINT_MAX 65535U
31 #else /* _EM_WSIZE == 4 */
32 #define INT_MIN (-2147483647 - 1)
33 #define INT_MAX 2147483647
34 #define UINT_MAX 4294967295U
37 #endif /* _LIMITS_H */