diff --git a/test/unit/run.cpp b/test/unit/run.cpp index 759f4312f..74b071550 100644 --- a/test/unit/run.cpp +++ b/test/unit/run.cpp @@ -25,7 +25,9 @@ int main (int argc, char* const argv[]) #ifdef MAPNIK_USE_PROJ4 // http://trac.osgeo.org/proj/ticket/149 + #if PJ_VERSION >= 480 pj_clear_initcache(); + #endif // https://trac.osgeo.org/proj/wiki/ProjAPI#EnvironmentFunctions pj_deallocate_grids(); #endif