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

From: Tom Rini
Date: Fri Jul 09 2004 - 16:19:53 EST


On Fri, Jul 09, 2004 at 10:16:05PM +0100, Christoph Hellwig wrote:

> 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.

I forgot to CC Jean on this, but that's not exactly a nice option. In
fact, it'd be fine to just switch to <inttypes.h>, afaics, except that
cygwin doesn't have that.

--
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/