Skip to content
Permalink
Browse files

Fix GEOS 3.9 conditional

  • Loading branch information
strk authored and nyalldawson committed Nov 16, 2020
1 parent 2550d45 commit 53f4161e53d90edf300c4a9a9b8c3fdc12c921f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/pal/pointset.cpp
@@ -833,7 +833,7 @@ double PointSet::minDistanceToPoint( double px, double py, double *rx, double *r
{
//for polygons, we want distance to exterior ring (not an interior point)
extRing = GEOSGetExteriorRing_r( geosctxt, mGeos );
#if GEOS_VERSION_MAJOR>3 || GEOS_VERSION_MINOR>=9
#if GEOS_VERSION_MAJOR>3 || ( GEOS_VERSION_MAJOR == 3 && GEOS_VERSION_MINOR>=9 )
if ( ! mGeosPreparedBoundary )
{
mGeosPreparedBoundary = GEOSPrepare_r( geosctxt, extRing );

0 comments on commit 53f4161

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