* stdint_.h (intmax_t) [defined intmax_t]: Do not declare.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Nov 2005 06:24:41 +0000 (06:24 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Nov 2005 06:24:41 +0000 (06:24 +0000)
commita76b7ae3e46858ff856cea39edeccad62534587f
tree8ba9a8488d8ddd40b2e566a29b02f74699b79b95
parent0e54d613ae73baae389f82279958af959c746290
* stdint_.h (intmax_t) [defined intmax_t]: Do not declare.
(uintmax_t) [defined uintmax_t]: Do not declare.
(SIZE_MAX) [defined SIZE_MAX]: Do not define.
This works around a problem if intmax_t.m4 and/or uintmax_t.m4
and/or size_max.m4 are also used.  Problem reported by Mark D. Baushke.
(SIZE_MAX): Define to ((size_t) -1), not (~(size_t)0), for the
sake of portability to weird hosts that C allows (though we don't
know of any practical examples).
lib/ChangeLog
lib/stdint_.h