[PATCH] Make sure X_BYTE_ORDER is defined for servermd.h

Michel Dänzer michel at daenzer.net
Thu Jul 31 20:19:34 PDT 2014


On 01.08.2014 12:00, Keith Packard wrote:
> Michel Dänzer <michel at daenzer.net> writes:
> 
>> Thanks, but X_BYTE_ORDER still needs to be added to xorg-server.h,
>> doesn't it? By 'this on top', I meant literally folding it into your
>> patch.
> 
> Heh. I thought we'd already gotten that part done. Sorry; I'm on
> vacation this week.

[...]

> From: Keith Packard <keithp at keithp.com>
> Date: Thu, 31 Jul 2014 19:57:53 -0700
> Subject: [PATCH] Add X_BYTE_ORDER to xorg-server.h
> 
> Drivers don't get to use dix-config.h, they use xorg-server.h
> instead. Add X_BYTE_ORDER to that file so drivers can see the value.
> 
> Signed-off-by: Keith Packard <keithp at keithp.com>
> ---
>  include/xorg-server.h.in | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
> index 09b79b6..4cb9487 100644
> --- a/include/xorg-server.h.in
> +++ b/include/xorg-server.h.in
> @@ -231,4 +231,7 @@
>  /* Ask fontsproto to make font path element names const */
>  #define FONT_PATH_ELEMENT_NAME_CONST    1
>  
> +/* byte order */
> +#undef X_BYTE_ORDER
> +
>  #endif /* _XORG_SERVER_H_ */

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 234 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140801/017a2941/attachment.sig>


More information about the xorg-devel mailing list