rename PROJ_VERSION to MAPNIK_PROJ_VERSION to avoid clashes with libproj
This commit is contained in:
parent
5dfd1a24fc
commit
3489bdbe36
2 changed files with 2 additions and 2 deletions
|
@ -1720,7 +1720,7 @@ if not preconfigured:
|
||||||
env['SKIPPED_DEPS'].append('proj-min-version')
|
env['SKIPPED_DEPS'].append('proj-min-version')
|
||||||
else:
|
else:
|
||||||
env.Append(CPPDEFINES = define)
|
env.Append(CPPDEFINES = define)
|
||||||
env.Append(CPPDEFINES = "-DPROJ_VERSION=%d" % version)
|
env.Append(CPPDEFINES = "-DMAPNIK_PROJ_VERSION=%d" % version)
|
||||||
else:
|
else:
|
||||||
env.Append(CPPDEFINES = define)
|
env.Append(CPPDEFINES = define)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -39,7 +39,7 @@ MAPNIK_DISABLE_WARNING_POP
|
||||||
|
|
||||||
|
|
||||||
// fwd decl
|
// fwd decl
|
||||||
#if PROJ_VERSION >= 80000
|
#if MAPNIK_PROJ_VERSION >= 80000
|
||||||
struct pj_ctx;
|
struct pj_ctx;
|
||||||
using PJ_CONTEXT = struct pj_ctx;
|
using PJ_CONTEXT = struct pj_ctx;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue