linux.cf
Daniel Stone
daniel at fooishbar.org
Fri Jan 21 15:18:38 PST 2005
On Wed, Jan 19, 2005 at 06:55:47PM +0100, Thomas Winischhofer wrote:
> I am in the process of adding a new card driver to the repository. This
> driver is for Linux only, and only for little-endian machines.
>
> What would I add to linux.cf? I thought of something in the lines of
>
> #ifdef __LITTLE_ENDIAN__
> #define XF86LECardDrivers sisusb
> #else
> #define XF86LECardDrivers /**/
> #endif
>
> and modify the existing XF86OSCardDrivers so it says
>
> #define XF86OSCardDrivers fbdev v4l XF86LECardDrivers
>
> Can I rely on __LITTLE_ENDIAN__ being #define'd?
>
> Is is ok in general?
IIRC X_BYTE_ORDER will be defined to X_LITTLE_ENDIAN.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20050122/eec99e2b/attachment.pgp>
More information about the xorg
mailing list