> From: Adam Jackson <[email protected]> > Date: Wed, 21 May 2014 15:31:16 -0400 > > We really don't want to be in the business of knowing about CPU > architectures. servermd.h is one of the worst offenders for that in > the tree; this series attempts to clean out the gunk. Probably the most > contentious bit is assuming your compiler will actually define > __BYTE_ORDER__, but gcc certainly does.
Unfortunately older versions of GCC don't define __BYTE_ORDER__. In particular 4.2.1 doesn't support this, and since this is the last version released under GPLv2, it is still widely used. Also, __BYTE_ORDER__ was only recently added to clang. Is providing a fallback based on AC_C_BIGENDIAN like Alan C. suggests feasable? _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
