sna: undef FontSetPrivate() before redefining it
Avoid the compiler gettings upset about us redefining FontSetPrivate(). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
parent
2fae3b89f2
commit
04d8411d6c
|
|
@ -121,6 +121,7 @@
|
|||
|
||||
#if XFONT2_CLIENT_FUNCS_VERSION >= 1
|
||||
#define AllocateFontPrivateIndex() xfont2_allocate_font_private_index()
|
||||
#undef FontSetPrivate
|
||||
#define FontSetPrivate(font, idx, data) xfont2_font_set_private(font, idx, data)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue