mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 13:28:08 +02:00
Add _XITYPEDEF_POINTER to dix-config.h
Just like the pointer type from Xdefs.h, the Pointer type from XIproto.h collides with local declarations of variables using the same name. XIproto.h can use _XITYPEDEF_POINTER to avoid declaring the unnecessary pointer type. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
0b5a87f37d
commit
7ddef4f703
1 changed files with 3 additions and 0 deletions
|
|
@ -472,6 +472,9 @@
|
|||
/* Don't let Xdefs.h define 'pointer' */
|
||||
#define _XTYPEDEF_POINTER 1
|
||||
|
||||
/* Don't let XIproto define 'Pointer' */
|
||||
#define _XITYPEDEF_POINTER 1
|
||||
|
||||
/* Ask fontsproto to make font path element names const */
|
||||
#define FONT_PATH_ELEMENT_NAME_CONST 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue