mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
768 B
23 lines
768 B
#ifndef _HTC_LIMITS_H
|
|
#define _HTC_LIMITS_H
|
|
|
|
/* Characteristics of integral types */
|
|
|
|
#define CHAR_BIT 8 /* bits per char */
|
|
#define CHAR_MAX 127 /* max value of a char */
|
|
#define CHAR_MIN -128 /* min value */
|
|
#define SCHAR_MAX CHAR_MAX /* chars are signed */
|
|
#define SCHAR_MIN CHAR_MIN
|
|
#define UCHAR_MAX 255 /* for unsigned chars */
|
|
#define SHRT_MAX 32767 /* max value of a short */
|
|
#define SHRT_MIN -32768
|
|
#define USHRT_MAX 65535 /* unsigned short */
|
|
#define INT_MAX 32767 /* max for int */
|
|
#define INT_MIN -32768 /* min for int */
|
|
#define UINT_MAX 65535 /* unsigned int */
|
|
#define LONG_MAX 2147483647 /* max value of long */
|
|
#define LONG_MIN -2147483648 /* min value */
|
|
#define ULONG_MAX 4294967295 /* unsigned long */
|
|
|
|
#endif
|
|
|