mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2024-12-28 16:31:01 +00:00
38 lines
705 B
C
38 lines
705 B
C
|
/*
|
||
|
Limits.h -- Sizes of integral types
|
||
|
|
||
|
Copyright Apple Computer,Inc. 1987, 1990-1991
|
||
|
All rights reserved.
|
||
|
This file is used in these builds: ROM System
|
||
|
|
||
|
|
||
|
Change History (most recent first):
|
||
|
|
||
|
<2> 8/8/91 JL Update copyright
|
||
|
|
||
|
To Do:
|
||
|
*/
|
||
|
|
||
|
#ifndef __LIMITS__
|
||
|
#define __LIMITS__
|
||
|
|
||
|
#define CHAR_BIT 8
|
||
|
#define CHAR_MAX 127
|
||
|
#define CHAR_MIN (-128)
|
||
|
#define MB_LEN_MAX 1
|
||
|
#define INT_MAX 2147483647
|
||
|
#define INT_MIN (-2147483648)
|
||
|
#define LONG_MAX 2147483647
|
||
|
#define LONG_MIN (-2147483648)
|
||
|
#define SCHAR_MAX 127
|
||
|
#define SCHAR_MIN (-128)
|
||
|
#define SHRT_MAX 32767
|
||
|
#define SHRT_MIN (-32768)
|
||
|
#define UCHAR_MAX 255U
|
||
|
#define UINT_MAX 4294967295U
|
||
|
#define ULONG_MAX 4294967295U
|
||
|
#define USHRT_MAX 65535
|
||
|
|
||
|
|
||
|
#endif
|