xref: /titanic_52/usr/src/cmd/ast/libast/i386/FEATURE/limits (revision 906afcb89d0412cc073b95c2d701a804a8cdb62c)
1*906afcb8SAndy Fiddaman/* : : generated from contrib/ast/src/lib/libast/features/limits.c by iffe version 2012-07-17 : : */
2*906afcb8SAndy Fiddaman#ifndef _def_limits_ast
3*906afcb8SAndy Fiddaman#define _def_limits_ast	1
4*906afcb8SAndy Fiddaman#define _sys_types	1	/* #include <sys/types.h> ok */
5*906afcb8SAndy Fiddaman
6*906afcb8SAndy Fiddaman
7*906afcb8SAndy Fiddaman#ifndef CHAR_BIT
8*906afcb8SAndy Fiddaman#define CHAR_BIT 8
9*906afcb8SAndy Fiddaman#endif
10*906afcb8SAndy Fiddaman#ifndef CHAR_MAX
11*906afcb8SAndy Fiddaman#define CHAR_MAX 127
12*906afcb8SAndy Fiddaman#endif
13*906afcb8SAndy Fiddaman#ifndef CHAR_MIN
14*906afcb8SAndy Fiddaman#define CHAR_MIN -128
15*906afcb8SAndy Fiddaman#endif
16*906afcb8SAndy Fiddaman#ifndef CLOCKS_PER_SEC
17*906afcb8SAndy Fiddaman#define CLOCKS_PER_SEC 1000000
18*906afcb8SAndy Fiddaman#endif
19*906afcb8SAndy Fiddaman#ifndef INT_MIN
20*906afcb8SAndy Fiddaman#define INT_MIN -2147483648
21*906afcb8SAndy Fiddaman#endif
22*906afcb8SAndy Fiddaman#ifndef LLONG_MAX
23*906afcb8SAndy Fiddaman#define LLONG_MAX 9223372036854775807
24*906afcb8SAndy Fiddaman#endif
25*906afcb8SAndy Fiddaman#ifndef LLONG_MIN
26*906afcb8SAndy Fiddaman#define LLONG_MIN -9223372036854775808
27*906afcb8SAndy Fiddaman#endif
28*906afcb8SAndy Fiddaman#ifndef LONG_MAX
29*906afcb8SAndy Fiddaman#define LONG_MAX 2147483647
30*906afcb8SAndy Fiddaman#endif
31*906afcb8SAndy Fiddaman#ifndef LONG_MIN
32*906afcb8SAndy Fiddaman#define LONG_MIN -2147483648
33*906afcb8SAndy Fiddaman#endif
34*906afcb8SAndy Fiddaman#ifndef MB_LEN_MAX
35*906afcb8SAndy Fiddaman#define MB_LEN_MAX 5
36*906afcb8SAndy Fiddaman#endif
37*906afcb8SAndy Fiddaman#ifndef OPEN_MAX_CEIL
38*906afcb8SAndy Fiddaman#ifndef OPEN_MAX
39*906afcb8SAndy Fiddaman#define OPEN_MAX 256
40*906afcb8SAndy Fiddaman#endif
41*906afcb8SAndy Fiddaman#define OPEN_MAX_CEIL OPEN_MAX
42*906afcb8SAndy Fiddaman#endif
43*906afcb8SAndy Fiddaman#ifndef PTHREAD_STACK_MIN
44*906afcb8SAndy Fiddaman#define PTHREAD_STACK_MIN 4096
45*906afcb8SAndy Fiddaman#endif
46*906afcb8SAndy Fiddaman#ifndef PTRDIFF_MAX
47*906afcb8SAndy Fiddaman#define PTRDIFF_MAX 2147483647
48*906afcb8SAndy Fiddaman#endif
49*906afcb8SAndy Fiddaman#ifndef PTRDIFF_MIN
50*906afcb8SAndy Fiddaman#define PTRDIFF_MIN -2147483648
51*906afcb8SAndy Fiddaman#endif
52*906afcb8SAndy Fiddaman#ifndef SCHAR_MAX
53*906afcb8SAndy Fiddaman#define SCHAR_MAX 127
54*906afcb8SAndy Fiddaman#endif
55*906afcb8SAndy Fiddaman#ifndef SCHAR_MIN
56*906afcb8SAndy Fiddaman#define SCHAR_MIN -128
57*906afcb8SAndy Fiddaman#endif
58*906afcb8SAndy Fiddaman#ifndef SHRT_MIN
59*906afcb8SAndy Fiddaman#define SHRT_MIN -32768
60*906afcb8SAndy Fiddaman#endif
61*906afcb8SAndy Fiddaman#ifndef SIG_ATOMIC_MAX
62*906afcb8SAndy Fiddaman#define SIG_ATOMIC_MAX 2147483647
63*906afcb8SAndy Fiddaman#endif
64*906afcb8SAndy Fiddaman#ifndef SIG_ATOMIC_MIN
65*906afcb8SAndy Fiddaman#define SIG_ATOMIC_MIN -2147483648
66*906afcb8SAndy Fiddaman#endif
67*906afcb8SAndy Fiddaman#ifndef SIZE_MAX
68*906afcb8SAndy Fiddaman#ifndef UINT_MAX
69*906afcb8SAndy Fiddaman#define UINT_MAX 4294967295
70*906afcb8SAndy Fiddaman#endif
71*906afcb8SAndy Fiddaman#define SIZE_MAX UINT_MAX
72*906afcb8SAndy Fiddaman#endif
73*906afcb8SAndy Fiddaman#ifndef SSIZE_MAX
74*906afcb8SAndy Fiddaman#ifndef INT_MAX
75*906afcb8SAndy Fiddaman#define INT_MAX 2147483647
76*906afcb8SAndy Fiddaman#endif
77*906afcb8SAndy Fiddaman#define SSIZE_MAX INT_MAX
78*906afcb8SAndy Fiddaman#endif
79*906afcb8SAndy Fiddaman#ifndef TMP_MAX
80*906afcb8SAndy Fiddaman#define TMP_MAX 17576
81*906afcb8SAndy Fiddaman#endif
82*906afcb8SAndy Fiddaman#ifndef UCHAR_MAX
83*906afcb8SAndy Fiddaman#define UCHAR_MAX 255
84*906afcb8SAndy Fiddaman#endif
85*906afcb8SAndy Fiddaman#ifndef ULLONG_MAX
86*906afcb8SAndy Fiddaman#define ULLONG_MAX 18446744073709551615
87*906afcb8SAndy Fiddaman#endif
88*906afcb8SAndy Fiddaman#ifndef ULONG_MAX
89*906afcb8SAndy Fiddaman#define ULONG_MAX 4294967295
90*906afcb8SAndy Fiddaman#endif
91*906afcb8SAndy Fiddaman#ifndef USHRT_MAX
92*906afcb8SAndy Fiddaman#define USHRT_MAX 65535
93*906afcb8SAndy Fiddaman#endif
94*906afcb8SAndy Fiddaman#ifndef WCHAR_MAX
95*906afcb8SAndy Fiddaman#define WCHAR_MAX 2147483647
96*906afcb8SAndy Fiddaman#endif
97*906afcb8SAndy Fiddaman#ifndef WCHAR_MIN
98*906afcb8SAndy Fiddaman#define WCHAR_MIN -2147483648
99*906afcb8SAndy Fiddaman#endif
100*906afcb8SAndy Fiddaman#ifndef WINT_MAX
101*906afcb8SAndy Fiddaman#define WINT_MAX 2147483647
102*906afcb8SAndy Fiddaman#endif
103*906afcb8SAndy Fiddaman#ifndef WINT_MIN
104*906afcb8SAndy Fiddaman#define WINT_MIN -2147483648
105*906afcb8SAndy Fiddaman#endif
106*906afcb8SAndy Fiddaman
107*906afcb8SAndy Fiddaman#endif
108