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
This commit is contained in:
eugeni 2008-05-08 13:54:00 +00:00
parent 263c691380
commit 2c9139be84
1 changed files with 10 additions and 0 deletions

View File

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