[issue299] stdint.h not present on Solaris
Brendan Cully
brendan at kublai.com
Mon Jun 26 11:09:30 CDT 2006
On Monday, 26 June 2006 at 08:58, Gil wrote:
> Bryan O'Sullivan wrote:
> > On Mon, 2006-06-26 at 06:42 +0000, James Bostock wrote:
> >
> >> Changeset 2468 added an include of stdint.h to bdiff.c and to mpatch.c.
> >
> > I see /usr/include/stdint.h on my Solaris Express machine. Which
> > version are you using?
>
> Solaris 7 and 8 don't have stdint.h but do have the similar but not
> entirely complete inttypes.h. I'm not sure about 2.6 and earlier or
> about Solaris 9.
When this came up on the mutt list a while ago the consensus seemed to
be that everything that has stdint also has inttypes, but not vice
versa (ah, posix!). If you don't want to actually check for a header,
inttypes may be a safer include.
More information about the Mercurial
mailing list