summaryrefslogtreecommitdiff
path: root/src/fcfreetype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcfreetype.c')
-rw-r--r--src/fcfreetype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 2cab48a..f85e2f8 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -64,6 +64,7 @@
#include "ftglue.h"
+#if HAVE_WARNING_CPP_DIRECTIVE
#if !HAVE_FT_GET_BDF_PROPERTY
#warning "No FT_Get_BDF_Property: Please install freetype 2.1.4 or later"
#endif
@@ -71,6 +72,7 @@
#if !HAVE_FT_GET_PS_FONT_INFO
#warning "No FT_Get_PS_Font_Info: Please install freetype 2.1.1 or later"
#endif
+#endif
/*
* Keep Han languages separated by eliminating languages