Index:
[thread]
[date]
[subject]
[author]
From: Tristan Wibberley <twibberley@llamacom.com>
To : ggi-develop@eskimo.com
Date: Thu, 03 Sep 1998 15:58:03 +0000
Re: libggi not working ...
Christian Reiniger wrote:
> Something like that:
>
> union
> {
> int IntPart;
> char FirstByte;
> } TestEndian;
>
> TestEndian.IntPart = 0x4711;
> if (TestEndian.FirstByte == 0x11)
> LittleEndian = true;
But this needs to be done by the preprocessor.
I suppose you call this from the configure script to write to a file
whether the system is big/little endian, and use that in the makefile
with -D
--
Tristan
Index:
[thread]
[date]
[subject]
[author]