[PATCH v2] arch: Fix image and bitmap byte order for ppc64le

Keith Packard keithp at keithp.com
Mon Feb 24 08:09:33 PST 2014


walter harms <wharms at bfs.de> writes:

> Assuming that __LITTLE_ENDIAN__ is of general interest,
> i would avoid defined(__ppc__) and friends otherwise we will need to define
> this for every achitecture.

That would risk breaking little endian platforms that failed to define
this. Safest to limit the scope of the change the PPC platforms, where
__LITTLE_ENDIAN__ is a new option, and hence likely to be set correctly.

I would sure like to be able to detect the difference between 'this
option is set to false' and 'this option isn't defined'; is there
something that PPC defines in both cases, and sets to TRUE in one case
and FALSE in the other?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140224/8067c228/attachment.pgp>


More information about the xorg-devel mailing list