mirror of git://git.musl-libc.org/musl
fix the types of some integer constant limits in headers
This commit is contained in:
parent
6d36c2098b
commit
f451462098
|
@ -22,11 +22,11 @@
|
||||||
|
|
||||||
#define INT_MIN (-1-0x7fffffff)
|
#define INT_MIN (-1-0x7fffffff)
|
||||||
#define INT_MAX 0x7fffffff
|
#define INT_MAX 0x7fffffff
|
||||||
#define UINT_MAX 0xffffffff
|
#define UINT_MAX 0xffffffffU
|
||||||
|
|
||||||
#define LONG_MIN (-1-0x7fffffffL)
|
#define LONG_MIN (-1-0x7fffffffL)
|
||||||
#define LONG_MAX 0x7fffffffL
|
#define LONG_MAX 0x7fffffffL
|
||||||
#define ULONG_MAX 0xffffffffL
|
#define ULONG_MAX 0xffffffffUL
|
||||||
|
|
||||||
#define LLONG_MIN (-1-0x7fffffffffffffffLL)
|
#define LLONG_MIN (-1-0x7fffffffffffffffLL)
|
||||||
#define LLONG_MAX 0x7fffffffffffffffLL
|
#define LLONG_MAX 0x7fffffffffffffffLL
|
||||||
|
|
|
@ -20,11 +20,11 @@
|
||||||
|
|
||||||
#define INT_MIN (-1-0x7fffffff)
|
#define INT_MIN (-1-0x7fffffff)
|
||||||
#define INT_MAX 0x7fffffff
|
#define INT_MAX 0x7fffffff
|
||||||
#define UINT_MAX 0xffffffff
|
#define UINT_MAX 0xffffffffU
|
||||||
|
|
||||||
#define LONG_MIN (-1-0x7fffffffffffffffL)
|
#define LONG_MIN (-1-0x7fffffffffffffffL)
|
||||||
#define LONG_MAX 0x7fffffffffffffffL
|
#define LONG_MAX 0x7fffffffffffffffL
|
||||||
#define ULONG_MAX 0xffffffffffffffffL
|
#define ULONG_MAX 0xffffffffffffffffUL
|
||||||
|
|
||||||
#define LLONG_MIN (-1-0x7fffffffffffffffLL)
|
#define LLONG_MIN (-1-0x7fffffffffffffffLL)
|
||||||
#define LLONG_MAX 0x7fffffffffffffffLL
|
#define LLONG_MAX 0x7fffffffffffffffLL
|
||||||
|
|
|
@ -72,7 +72,7 @@ size_t wcstombs (char *, const wchar_t *, size_t);
|
||||||
#define EXIT_FAILURE 1
|
#define EXIT_FAILURE 1
|
||||||
#define EXIT_SUCCESS 0
|
#define EXIT_SUCCESS 0
|
||||||
|
|
||||||
#define MB_CUR_MAX 4
|
#define MB_CUR_MAX ((size_t)+4)
|
||||||
|
|
||||||
#define RAND_MAX (0x7fffffff)
|
#define RAND_MAX (0x7fffffff)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue