# HG changeset patch # User eugeni # Date 1210254840 0 # Node ID ab5729095d68bf9dd45e1291685c92812f225ad0 # Parent 9e1d66c990fad0eb9f1037f309a3d2a51154dc4d Define FC_FULLNAME and FC_EMBOLDEN to fix compilation with ancient fontconfig. diff -r 9e1d66c990fa -r ab5729095d68 libass/ass_fontconfig.c --- a/libass/ass_fontconfig.c Thu May 08 13:53:58 2008 +0000 +++ b/libass/ass_fontconfig.c Thu May 08 13:54:00 2008 +0000 @@ -50,6 +50,16 @@ }; #ifdef HAVE_FONTCONFIG + +// 4yo fontconfig does not have these. +// They are only needed for debug output, anyway. +#ifndef FC_FULLNAME +#define FC_FULLNAME "fullname" +#endif +#ifndef FC_EMBOLDEN +#define FC_EMBOLDEN "embolden" +#endif + /** * \brief Low-level font selection. * \param priv private data