[PATCH 0/9] Rewrite include/servermd.h
mark.kettenis at xs4all.nl
Thu May 22 02:25:25 PDT 2014
> From: Adam Jackson <ajax at redhat.com>
> 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
More information about the xorg-devel