only expose save_to_cairo_file if cairo support available

This commit is contained in:
Dane Springmeyer 2010-07-14 18:30:22 +00:00
parent a2909f30bf
commit e670a1c44d

View file

@ -58,9 +58,11 @@ public:
}
};
#if defined(HAVE_CAIRO)
MAPNIK_DECL void save_to_cairo_file(mapnik::Map const& map,
std::string const& filename,
std::string const& type);
#endif
template <typename T>
MAPNIK_DECL void save_to_file(T const& image,