On Fri, Nov 13, 2009 at 02:23:51PM +0100, Christoph Egger wrote: > On Fri, Nov 13, 2009 at 03:03:33PM +0100, Bastian Blank wrote: > > What can go wrong with endian.h and using > > #if __BYTE_ORDER == __LITTLE_ENDIAN > > ? > What could go wrong is that the system must have been broken for > quite some time without anyone noticing ot some other additional > mecanism in place. However the Byteordercheck is already RFSed and > waits for a sponsor.
On glibc system you _must_ use endian.h to get the endianess. Also Debian does not support any other libc, so not much of a choice there. Bastian -- Every living thing wants to survive. -- Spock, "The Ultimate Computer", stardate 4731.3 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org