Al,
On 2004 Jul 13 , at 12.55, 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?
AC_C_BIGENDIAN, after which the cpp variable WORDS_BIGENDIAN is defined
to 1 if the platform is bigendian.
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|