Subject: Re: xdr_float.c?
To: Gordon W. Ross <gwr@netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: tech-toolchain
Date: 03/31/1999 14:23:10
"Gordon W. Ross" wrote:
> How about the trivial solution below?
>
> Add this somewhere widely included:
> i.e. src/sys/arch/mips/include/cdefs.h
>
> #if defined(__mipseb__) || defined(__mipsel_)
> #define __mips__ 1
> #endif
I'm tempted (as Soda suggests) to ``fix'' lint - after all, it's not
a deficiency in the toolchain - it gets everything right. In fact,
the compiler *doesn't* define __mipse?__ - only MIPSE? (with various
incantations of __ before and/or after). So lint can be even further
of that track. Ug.
Simon.