Re: [PATCH] Fix building on Solaris (and don't break Cygwin)

From: Tom Rini
Date: Mon Jul 12 2004 - 12:45:58 EST


On Sun, Jul 11, 2004 at 08:19:14PM +0000, H. Peter Anvin wrote:
> Followup to: <20040709211605.GA6126@xxxxxxxxxxxxx>
> By author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
> In newsgroup: linux.dev.kernel
> >
> > On Fri, Jul 09, 2004 at 02:00:11PM -0700, Tom Rini wrote:
> > > The following is from Jean-Christophe Dubois <jdubois@xxxxxx>. On
> > > Solaris 2.8, <stdint.h> does not exist, but <inttypes.h> does. However,
> > > on cygwin (the other odd place that the kernel is compiled on)
> > > <inttypes.h> doesn't exist. So we end up with something like the
> > > following.
> > > Signed-off-by: Tom Rini <trini@xxxxxxxxxxxxxxxxxxx>
> >
> > Yikes. <stdint.h> is mandated by C99, please complain to sun instead or
> > write up the header yourself - it's not that difficult anyway.
> >
>
> <inttypes.h> is also mandated by C99, and is a more complete header
> (it includes stdint.h).

Which makes it quite annoying that Cygwin lacks it.

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/