diff options
| author | Michael Brown | 2005-03-08 19:53:11 +0100 |
|---|---|---|
| committer | Michael Brown | 2005-03-08 19:53:11 +0100 |
| commit | 3d6123e69ab879c72ff489afc5bf93ef0b7a94ce (patch) | |
| tree | 9f3277569153a550fa8d81ebd61bd88f266eb8da /src/arch/e1/include/limits.h | |
| download | ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.gz ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.xz ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.zip | |
Initial revision
Diffstat (limited to 'src/arch/e1/include/limits.h')
| -rw-r--r-- | src/arch/e1/include/limits.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/arch/e1/include/limits.h b/src/arch/e1/include/limits.h new file mode 100644 index 000000000..e7056ce5c --- /dev/null +++ b/src/arch/e1/include/limits.h @@ -0,0 +1,34 @@ +/*--------------------------------------------------------------------------*/ +/* Project: ANSI C Standard Header Files */ +/* File: LIMITS.H */ +/* Edited by: hyperstone electronics GmbH */ +/* Am Seerhein 8 */ +/* D-78467 Konstanz, Germany */ +/* Date: January 30, 1996 */ +/*--------------------------------------------------------------------------*/ +/* Purpose: */ +/* The header file <limits.h> defines limits of ordinal types */ +/* (char, short, int, long) */ +/*--------------------------------------------------------------------------*/ + +#ifndef __LIMITS_H +#define __LIMITS_H 1 + +#define MB_LEN_MAX 1 +#define CHAR_BIT 8 +#define SCHAR_MIN -128L +#define SCHAR_MAX 127L +#define UCHAR_MAX 255 +#define CHAR_MIN 0 +#define CHAR_MAX UCHAR_MAX +#define SHRT_MIN -32768 +#define SHRT_MAX 32767 +#define USHRT_MAX 65535 +#define INT_MIN 0x80000000 +#define INT_MAX 0x7FFFFFFF +#define UINT_MAX 0xFFFFFFFFL +#define LONG_MIN INT_MIN +#define LONG_MAX INT_MAX +#define ULONG_MAX UINT_MAX + +#endif |
