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