On Wed, Jan 02, 2008 at 10:53:46AM +0100, Frederic Leroy wrote: > At least, you must check the platform ... maybe with : > > #if defined(__APPLE__) && defined (OSX) > ... > #endif > > (Borrowed from gimp code ...) > I guess it is not sufficiant as there is x86 and ppc arch in OsX.
does somebody using OS X know how to distinguish the different endianness? Is there something like the __BYTE_ORDER #define? I'm sure there is a way how to safely determine this at compile time. Once this has been addressed, I'm more than happy to merge this patch -- - Harald Welte <[EMAIL PROTECTED]> http://openmoko.org/ ============================================================================ Software for the world's first truly open Free Software mobile phone

