From 40b0ab8d6c0e1aa49a60fc2c1c1d37c825fda64c Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 21 Mar 2012 17:45:19 -0700 Subject: [PATCH] add missing #else --- src/image_util.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/image_util.cpp b/src/image_util.cpp index 35ccb4ba1..dfc1c54c6 100644 --- a/src/image_util.cpp +++ b/src/image_util.cpp @@ -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 }