From b730d437f7bd32ccecbbdafdb48517cf38692479 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 29 Apr 2015 18:00:39 -0700 Subject: [PATCH] pj_clear_initcache is only available in proj >= 4.8 --- test/unit/run.cpp | 2 ++ 1 file changed, 2 insertions(+) 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