add missing #else
This commit is contained in:
parent
0beca49b2a
commit
40b0ab8d6c
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@ void save_to_cairo_file(mapnik::Map const& map,
|
|||
{
|
||||
#if defined(CAIRO_HAS_PDF_SURFACE)
|
||||
surface = Cairo::PdfSurface::create(filename,width,height);
|
||||
#else
|
||||
throw ImageWriterException("PDFSurface not supported in the cairo backend");
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue