diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2011-01-08 12:43:05 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2011-01-08 12:43:05 +0000 |
commit | a56e818f29e03249aa03610ff136d2566ed0b0e3 (patch) | |
tree | 982d82f606fd515f513b96a4ec7aea4727588d31 /include/monetary.h | |
parent | d942996bafc6a4297ac42eef1babfc5e78b2867d (diff) |
On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than
architecture macros (__mips_n64, __powerpc64__) when 64 bit types (and
corresponding macros) are different from 32 bit. [1]
Correct the type of INT64_MIN, INT64_MAX and UINT64_MAX.
Define (U)INTMAX_C as an alias for (U)INT64_C matching the type definition
for (u)intmax_t. Do this on all architectures for consistency.
Suggested by: bde [1]
Approved by: kib (mentor)
Notes
Notes:
svn path=/head/; revision=217147
Diffstat (limited to 'include/monetary.h')
0 files changed, 0 insertions, 0 deletions