Only call function if it is actually built.
This commit is contained in:
parent
be56a61dea
commit
765dda465c
1 changed files with 2 additions and 0 deletions
|
@ -108,7 +108,9 @@ void export_wkt_reader();
|
|||
void clear_cache()
|
||||
{
|
||||
mapnik::marker_cache::instance().clear();
|
||||
#if defined(SHAPE_MEMORY_MAPPED_FILE)
|
||||
mapnik::mapped_memory_cache::instance().clear();
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(HAVE_CAIRO) && defined(HAVE_PYCAIRO)
|
||||
|
|
Loading…
Add table
Reference in a new issue