diff options
Diffstat (limited to 'boilerplate/cairo-boilerplate-pdf.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-pdf.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/boilerplate/cairo-boilerplate-pdf.c b/boilerplate/cairo-boilerplate-pdf.c index 53bf55ba..9854344d 100644 --- a/boilerplate/cairo-boilerplate-pdf.c +++ b/boilerplate/cairo-boilerplate-pdf.c @@ -238,10 +238,8 @@ _cairo_boilerplate_pdf_force_fallbacks (cairo_surface_t *abstract_surface, x_pixels_per_inch, y_pixels_per_inch); } -#endif static const cairo_boilerplate_target_t targets[] = { -#if CAIRO_CAN_TEST_PDF_SURFACE { "pdf", "pdf", ".pdf", NULL, CAIRO_SURFACE_TYPE_PDF, @@ -269,6 +267,11 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_pdf_cleanup, NULL, NULL, FALSE, TRUE, TRUE }, -#endif }; CAIRO_BOILERPLATE (pdf, targets) + +#else + +CAIRO_NO_BOILERPLATE (pdf) + +#endif |