On Tue, 13 Jul 2004, Alasdair Allan wrote:
> gen_bswap.f_ix86_Linux
> gen_bswap._sun4_Solaris
>
> and
>
> gen_wbswap.f_ix86_linux
> gen_wbswap.f_sun4_Solaris
>
> where basically the Sun code has "no action" and everyone else does a
> byteswap. I'm presuming there is some symbol I can do a test on to enable
> the code. Is anyone able tell me what it is?
Autoconf AC_C_BIGENDIAN will get you WORDS_BIGENDIAN defined.
|