Skip to content
Permalink
Browse files

Implemented workaround suggested in #5766 for compiling against Proj …

…6.x.
  • Loading branch information...
sdlime committed Mar 29, 2019
1 parent 0353da8 commit ddc026a6255cdd38a44798c0ccb38ae619f48d53
Showing with 3 additions and 0 deletions.
  1. +3 −0 mapproject.h
@@ -37,6 +37,9 @@
extern "C" {
#endif

/* workaround to allow compiling against Proj 6.x (#5766) */
#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1

#ifdef USE_PROJ
# include <proj_api.h>
#if PJ_VERSION >= 470 && PJ_VERSION < 480

0 comments on commit ddc026a

Please sign in to comment.
You can’t perform that action at this time.