add missing #else

This commit is contained in:
Dane Springmeyer 2012-03-21 17:45:19 -07:00
parent 0beca49b2a
commit 40b0ab8d6c

View file

@ -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
}