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