
26 Feb
2007
26 Feb
'07
10:58 p.m.
On Monday 26 February 2007 23:39:46 MenTaLguY wrote:
On Mon, 26 Feb 2007 16:29:18 -0600, Bob Jamison <rwjj@...127...> wrote:
How about a live test? Have an test like endian_type() that returns BIG_ENDIAN or LITTLE_ENDIAN.
Um, no.
This is something that can and should be entirely accomodated at compile-time, as it's a feature of the compiler's target architecture.
For the cmakers... INCLUDE (${CMAKE_ROOT}/Modules/TestBigEndian.cmake) TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
Craig