36 lines
594 B
C
Executable File
36 lines
594 B
C
Executable File
#ifndef AMMUNITION_LIMITS_H
|
|
#define AMMUNITION_LIMITS_H
|
|
|
|
#ifndef CHAR_BIT
|
|
#define CHAR_BIT 8
|
|
#endif
|
|
#ifndef UCHAR_MAX
|
|
#define UCHAR_MAX 255
|
|
#endif
|
|
#ifndef SCHAR_MAX
|
|
#define SCHAR_MAX 127
|
|
#endif
|
|
#ifndef SCHAR_MIN
|
|
#define SCHAR_MIN (-128)
|
|
#endif
|
|
#ifndef USHRT_MAX
|
|
#define USHRT_MAX 65535
|
|
#endif
|
|
#ifndef SHRT_MAX
|
|
#define SHRT_MAX 32767
|
|
#endif
|
|
#ifndef SHRT_MIN
|
|
#define SHRT_MIN (-32768)
|
|
#endif
|
|
#ifndef UINT_MAX
|
|
#define UINT_MAX (INT_MAX * 2U + 1)
|
|
#endif
|
|
#ifndef INT_MAX
|
|
#define INT_MAX 2147483647
|
|
#endif
|
|
#ifndef INT_MIN
|
|
#define INT_MIN (-INT_MAX-1)
|
|
#endif
|
|
|
|
#endif /* #ifndef AMMUNITION_LIMITS_H */
|