pj_clear_initcache is only available in proj >= 4.8

This commit is contained in:
Dane Springmeyer 2015-04-29 18:00:39 -07:00
parent f861df2130
commit b730d437f7

View file

@ -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