From f985d7c49365f96aec33dbe7fac05de2355f1e16 Mon Sep 17 00:00:00 2001 From: antf Date: Thu, 17 Mar 2022 10:48:41 +0000 Subject: [PATCH] Bug fixed, QGIS now works with Geos 3.7 or lower --- src/core/geometry/qgsgeometrymakevalid.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/geometry/qgsgeometrymakevalid.cpp b/src/core/geometry/qgsgeometrymakevalid.cpp index 9b7570a8a13..20466666889 100644 --- a/src/core/geometry/qgsgeometrymakevalid.cpp +++ b/src/core/geometry/qgsgeometrymakevalid.cpp @@ -18,8 +18,6 @@ // // Ideally one day the implementation will go to GEOS library... -#if ( GEOS_VERSION_MAJOR == 3 && GEOS_VERSION_MINOR<8 ) - #include "qgsgeometry.h" #include "qgsgeos.h" #include "qgslogger.h" @@ -32,6 +30,7 @@ #include +#if ( GEOS_VERSION_MAJOR == 3 && GEOS_VERSION_MINOR<8 ) // ------------ BuildArea stuff ---------------------------------------------------------------------