Skip to content
Permalink
Browse files

Fix proj4 build

  • Loading branch information
nyalldawson committed Apr 5, 2019
1 parent 70a8d49 commit 250d0d1670f76b8fb51b98e89f1c1c506d4f03cd
Showing with 3 additions and 2 deletions.
  1. +1 −1 src/app/qgscustomprojectiondialog.cpp
  2. +2 −1 src/core/qgscoordinatetransform_p.h
@@ -472,7 +472,7 @@ void QgsCustomProjectionDialog::pbnCalculate_clicked()

#if PROJ_VERSION_MAJOR<6
northing *= DEG_TO_RAD;
easting * = DEG_TO_RAD;
easting *= DEG_TO_RAD;
#endif

if ( !okN || !okE )
@@ -34,6 +34,7 @@
#include <QSharedData>

#if PROJ_VERSION_MAJOR<6
typedef void *projPJ;
#ifndef USE_THREAD_LOCAL
#include <QThreadStorage>
#endif
@@ -48,7 +49,7 @@ typedef PJ *ProjData;
#include "qgscoordinatetransformcontext.h"

#if PROJ_VERSION_MAJOR<6
typedef void *projPJ;

typedef void *projCtx;

/**

0 comments on commit 250d0d1

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