1 /***********************************************************************
3 * This software is part of the ast package *
4 * Copyright (c) 1985-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
13 * Information and Software Systems Research *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
21 ***********************************************************************/
22 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/limits.c by iffe version 2009-12-04 : : */
23 #ifndef _def_limits_ast
24 #define _def_limits_ast 1
25 #define _sys_types 1 /* #include <sys/types.h> ok */
37 #ifndef CLOCKS_PER_SEC
38 #define CLOCKS_PER_SEC 1000000
41 #define INT_MIN -2147483648
44 #define LLONG_MAX 9223372036854775807
47 #define LLONG_MIN -9223372036854775808
50 #define LONG_MAX 2147483647
53 #define LONG_MIN -2147483648
62 #define OPEN_MAX_CEIL OPEN_MAX
64 #ifndef PTHREAD_STACK_MIN
65 #define PTHREAD_STACK_MIN 4096
68 #define PTRDIFF_MAX 2147483647
71 #define PTRDIFF_MIN -2147483648
77 #define SCHAR_MIN -128
80 #define SHRT_MIN -32768
82 #ifndef SIG_ATOMIC_MAX
83 #define SIG_ATOMIC_MAX 2147483647
85 #ifndef SIG_ATOMIC_MIN
86 #define SIG_ATOMIC_MIN -2147483648
90 #define UINT_MAX 4294967295
92 #define SIZE_MAX UINT_MAX
96 #define INT_MAX 2147483647
98 #define SSIZE_MAX INT_MAX
101 #define TMP_MAX 17576
104 #define UCHAR_MAX 255
107 #define ULLONG_MAX 18446744073709551615
110 #define ULONG_MAX 4294967295
113 #define USHRT_MAX 65535
116 #define WCHAR_MAX 2147483647
119 #define WCHAR_MIN -2147483648
122 #define WINT_MAX 2147483647
125 #define WINT_MIN -2147483648