mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
53dd513176
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
47 lines
516 B
C
47 lines
516 B
C
/*
|
|
* limits.h
|
|
*
|
|
* Ullrich von Bassewitz, 04.06.1998
|
|
*
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LIMITS_H
|
|
#define _LIMITS_H
|
|
|
|
|
|
|
|
#define CHAR_BIT 8
|
|
|
|
#define SCHAR_MIN (-128)
|
|
#define SCHAR_MAX 127
|
|
|
|
#define UCHAR_MAX 255
|
|
|
|
#define CHAR_MIN 0
|
|
#define CHAR_MAX 255
|
|
|
|
#define SHRT_MIN (-32768)
|
|
#define SHRT_MAX 32767
|
|
|
|
#define USHRT_MAX 65535U
|
|
|
|
#define INT_MIN (-32768)
|
|
#define INT_MAX 32767
|
|
|
|
#define UINT_MAX 65535U
|
|
|
|
#define LONG_MAX 2147483647L
|
|
#define LONG_MIN (-2147483648L)
|
|
|
|
#define ULONG_MAX 4294967295UL
|
|
|
|
|
|
|
|
/* End of limits.h */
|
|
#endif
|
|
|
|
|
|
|