summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.h b/common.h
index 03a21ae..5e574c3 100644
--- a/common.h
+++ b/common.h
@@ -11,6 +11,15 @@
#include <string>
#include <stdio.h>
+#include <vdr/config.h>
+
+// unset HAVE_FREETYPE if VDR version >=1.5.3
+#ifdef HAVE_FREETYPE
+# if VDRVERSNUM > 10502
+# undef HAVE_FREETYPE
+# endif
+#endif
+
#ifdef DEBUG
#define debug(x...) printf("EnigmaNG: " x);
#define error(x...) printf("EnigmaNG: " x);