From 2c9139be84806bfaec826914427d3756a8fd2fe3 Mon Sep 17 00:00:00 2001 From: eugeni Date: Thu, 8 May 2008 13:54:00 +0000 Subject: Define FC_FULLNAME and FC_EMBOLDEN to fix compilation with ancient fontconfig. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26692 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libass/ass_fontconfig.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libass') diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c index 22f89b9cb3..289318ba75 100644 --- a/libass/ass_fontconfig.c +++ b/libass/ass_fontconfig.c @@ -50,6 +50,16 @@ struct fc_instance_s { }; #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 -- cgit v1.2.3