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:
Ville Syrjälä 2019-03-03 17:21:45 +02:00
parent 2fae3b89f2
commit 04d8411d6c
1 changed files with 1 additions and 0 deletions

View File

@ -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