changeset 26660:ab5729095d68

Define FC_FULLNAME and FC_EMBOLDEN to fix compilation with ancient fontconfig.
author eugeni
date Thu, 08 May 2008 13:54:00 +0000
parents 9e1d66c990fa
children d22e246ab209
files libass/ass_fontconfig.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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