ape: define long long limits
This commit is contained in:
parent
16b3a688c3
commit
045530aed2
1 changed files with 3 additions and 0 deletions
|
@ -9,18 +9,21 @@
|
|||
#define USHRT_MAX 0xffff
|
||||
#define UINT_MAX 0xffffffffU
|
||||
#define ULONG_MAX 0xffffffffUL
|
||||
#define ULLONG_MAX 0xffffffffffffffffUL
|
||||
|
||||
#define CHAR_MAX SCHAR_MAX
|
||||
#define SCHAR_MAX 0x7f
|
||||
#define SHRT_MAX 0x7fff
|
||||
#define INT_MAX 0x7fffffff
|
||||
#define LONG_MAX 0x7fffffffL
|
||||
#define LLONG_MAX 0x7fffffffffffffffL
|
||||
|
||||
#define CHAR_MIN SCHAR_MIN
|
||||
#define SCHAR_MIN (-SCHAR_MAX-1)
|
||||
#define SHRT_MIN (-SHRT_MAX-1)
|
||||
#define INT_MIN (-INT_MAX-1)
|
||||
#define LONG_MIN (-LONG_MAX-1)
|
||||
#define LLONG_MIN (-LLONG_MAX-1)
|
||||
|
||||
#ifdef _POSIX_SOURCE
|
||||
|
||||
|
|
Loading…
Reference in a new issue