Fix SIGATOMIC_M{IN,AX} on x86-64. These are meant to be the minimum values that are allowed in a sig_atomic_t, but it looks like they were just copied from the x86 versions, so these definitions violate the C and C++ specs. Mismatch was spotted by the libc++ test suite.
Approved by: dim (mentor)
This commit is contained in:
parent
1446ecce65
commit
38d1ac34ff
@ -150,8 +150,8 @@
|
||||
#define PTRDIFF_MAX INT64_MAX
|
||||
|
||||
/* Limits of sig_atomic_t. */
|
||||
#define SIG_ATOMIC_MIN INT32_MIN
|
||||
#define SIG_ATOMIC_MAX INT32_MAX
|
||||
#define SIG_ATOMIC_MIN LONG_MIN
|
||||
#define SIG_ATOMIC_MAX LONG_MAX
|
||||
|
||||
/* Limit of size_t. */
|
||||
#define SIZE_MAX UINT64_MAX
|
||||
|
Loading…
x
Reference in New Issue
Block a user