Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support

This commit is contained in:
Mathis Logemann 2021-03-26 20:04:30 +01:00
commit 8cd78b6945
2 changed files with 2 additions and 2 deletions

View file

@ -1720,7 +1720,7 @@ if not preconfigured:
env['SKIPPED_DEPS'].append('proj-min-version')
else:
env.Append(CPPDEFINES = define)
env.Append(CPPDEFINES = "-DPROJ_VERSION=%d" % version)
env.Append(CPPDEFINES = "-DMAPNIK_PROJ_VERSION=%d" % version)
else:
env.Append(CPPDEFINES = define)
else:

View file

@ -39,7 +39,7 @@ MAPNIK_DISABLE_WARNING_POP
// fwd decl
#if PROJ_VERSION >= 80000
#if MAPNIK_PROJ_VERSION >= 80000
struct pj_ctx;
using PJ_CONTEXT = struct pj_ctx;
#else