Date: Sat, 8 Jan 2011 12:43:05 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/include _stdint.h src/sys/arm/include _stdint.h src/sys/i386/include _stdint.h src/sys/ia64/include _stdint.h src/sys/mips/include _inttypes.h _stdint.h _types.h src/sys/powerpc/include _inttypes.h _limits.h _stdint.h _types.h ... Message-ID: <201101081243.p08ChKxc001799@repoman.freebsd.org>
index | next in thread | raw e-mail
tijl 2011-01-08 12:43:05 UTC
FreeBSD src repository
Modified files:
sys/amd64/include _stdint.h
sys/arm/include _stdint.h
sys/i386/include _stdint.h
sys/ia64/include _stdint.h
sys/mips/include _inttypes.h _stdint.h _types.h
sys/powerpc/include _inttypes.h _limits.h _stdint.h _types.h
sys/sparc64/include _stdint.h
sys/sun4v/include _stdint.h
Log:
SVN rev 217147 on 2011-01-08 12:43:05Z by tijl
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)
Revision Changes Path
1.4 +2 -2 src/sys/amd64/include/_stdint.h
1.4 +2 -2 src/sys/arm/include/_stdint.h
1.3 +2 -2 src/sys/i386/include/_stdint.h
1.4 +2 -2 src/sys/ia64/include/_stdint.h
1.4 +1 -1 src/sys/mips/include/_inttypes.h
1.3 +19 -26 src/sys/mips/include/_stdint.h
1.4 +8 -11 src/sys/mips/include/_types.h
1.5 +1 -1 src/sys/powerpc/include/_inttypes.h
1.33 +1 -1 src/sys/powerpc/include/_limits.h
1.4 +10 -19 src/sys/powerpc/include/_stdint.h
1.10 +4 -4 src/sys/powerpc/include/_types.h
1.3 +2 -2 src/sys/sparc64/include/_stdint.h
1.2 +2 -2 src/sys/sun4v/include/_stdint.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101081243.p08ChKxc001799>
