Skip to content

Commit 250d0d1

Browse files
committedApr 5, 2019
Fix proj4 build
1 parent 70a8d49 commit 250d0d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎src/app/qgscustomprojectiondialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ void QgsCustomProjectionDialog::pbnCalculate_clicked()
472472

473473
#if PROJ_VERSION_MAJOR<6
474474
northing *= DEG_TO_RAD;
475-
easting * = DEG_TO_RAD;
475+
easting *= DEG_TO_RAD;
476476
#endif
477477

478478
if ( !okN || !okE )

‎src/core/qgscoordinatetransform_p.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <QSharedData>
3535

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

5051
#if PROJ_VERSION_MAJOR<6
51-
typedef void *projPJ;
52+
5253
typedef void *projCtx;
5354

5455
/**

0 commit comments

Comments
 (0)
Please sign in to comment.