mirror of https://github.com/mpv-player/mpv
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:
parent
263c691380
commit
2c9139be84
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue