diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-08 13:54:00 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-08 13:54:00 +0000 |
commit | 2c9139be84806bfaec826914427d3756a8fd2fe3 (patch) | |
tree | 69dbb5dfd5122f731aea224eb8d264e0f637a369 /libass | |
parent | 263c691380a279de2da296591c6a15a6a2ef1e67 (diff) | |
download | mpv-2c9139be84806bfaec826914427d3756a8fd2fe3.tar.bz2 mpv-2c9139be84806bfaec826914427d3756a8fd2fe3.tar.xz |
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
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_fontconfig.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 |