summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-26 11:13:01 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-07-04 11:17:28 -0400
commitf51d318abbb9e67fd362129a2f2af81e77b9d691 (patch)
treee41755078c9ed596c23b9b2e44c1954770f86355 /tests
parentb29fdef4cc5bf08bc89066b36907ceddc0657edf (diff)
downloadpango-f51d318abbb9e67fd362129a2f2af81e77b9d691.tar.gz
Add defines for native fontmaps
Add PANGO_HAS_FC/CORE_TEXT/DIRECT_WRITE_FONTMAP macros to let apps check for the presence of native fontmaps.
Diffstat (limited to 'tests')
-rw-r--r--tests/cxx-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cxx-test.cpp b/tests/cxx-test.cpp
index 3fa1c20d..3a98321c 100644
--- a/tests/cxx-test.cpp
+++ b/tests/cxx-test.cpp
@@ -4,7 +4,7 @@
#include <pango2/pango.h>
-#if PANGO_RENDERING_CAIRO
+#if PANGO2_HAS_CAIRO
#include <pango2/pangocairo.h>
#endif