This commit was generated by cvs2svn to compensate for changes in r2,
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
This commit is contained in:
46
include/limits.h
Normal file
46
include/limits.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user