diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-02-26 22:07:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-26 22:07:24 +0100 |
| commit | f78661f84d8c0d7912b31a1b19c2a0cd4f85d061 (patch) | |
| tree | 360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/eqearth.cpp | |
| parent | 2db1400b34c219764b0000d0ad7b0f589f053432 (diff) | |
| parent | c9b27a248d3ed9964b6ac0847a83eba383b62537 (diff) | |
| download | PROJ-f78661f84d8c0d7912b31a1b19c2a0cd4f85d061.tar.gz PROJ-f78661f84d8c0d7912b31a1b19c2a0cd4f85d061.zip | |
Merge pull request #1293 from rouault/fix_netbsd8_compilation
mutex.cpp: remove _XOPEN_SOURCE definition that causes compilation problem on netBSD 8 and is useless on Linux
Diffstat (limited to 'src/projections/eqearth.cpp')
| -rw-r--r-- | src/projections/eqearth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/eqearth.cpp b/src/projections/eqearth.cpp index dc58eed9..73499262 100644 --- a/src/projections/eqearth.cpp +++ b/src/projections/eqearth.cpp @@ -26,7 +26,7 @@ PROJ_HEAD(eqearth, "Equal Earth") "\n\tPCyl, Sph&Ell"; #define A2 -0.081106 #define A3 0.000893 #define A4 0.003796 -#define M (sqrt(3) / 2.0) +#define M (sqrt(3.0) / 2.0) #define MAX_Y 1.3173627591574 /* 90° latitude on a sphere with radius 1 */ #define EPS 1e-11 |
