]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcfreetype.c
Avoid #warning directives on non-GCC compilers. (bug 7683)
[fontconfig.git] / src / fcfreetype.c
index 2cab48aa181502aa63f65cdaab9633c6bc889578..f85e2f8931eae1bc8b2305829ce355a9e6a08c37 100644 (file)
@@ -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