On Thu, 2015-04-09 at 15:33 +0200, Olivier Fourdan wrote:
> Make sure X_BIG_ENDIAN/X_LITTLE_ENDIAN are defined before actually using
> them.
> 
> Otherwise, byte order could be wrong even though endianess detection is
> correct.
> 
> Reported-by: Tim Waugh <twa...@redhat.com>
> Signed-off-by: Olivier Fourdan <ofour...@redhat.com>

I'm a little wary of this.  Xarch.h doesn't have ifdef guards arounds
its definition of those, might be better to just include that after the
#undef X_BYTE_ORDER.

- ajax

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to