mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
Added the enhanced Hi-Tech C Compiler components from @Laci1953 to user area 1 of the Hi-Tech Compiler disk images. Co-Authored-By: ladislau szilagyi <87603175+Laci1953@users.noreply.github.com>
23 lines
768 B
C
23 lines
768 B
C
#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
|
||
|