From 093f7368dc42a021e48cdac66001520d554662a4 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Sat, 23 Dec 2017 08:25:12 +0000 Subject: [PATCH] Put assert_empty_diagram in a geos >=35 if def. It's only used for geos 3.5+. Change should quiet dronie git-svn-id: http://svn.osgeo.org/postgis/trunk@16182 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/cunit/cu_triangulate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liblwgeom/cunit/cu_triangulate.c b/liblwgeom/cunit/cu_triangulate.c index 449c6249b..ed633409b 100644 --- a/liblwgeom/cunit/cu_triangulate.c +++ b/liblwgeom/cunit/cu_triangulate.c @@ -83,6 +83,7 @@ static void test_lwgeom_voronoi_diagram_custom_envelope(void) #endif /* POSTGIS_GEOS_VERSION >= 35 */ } +#if POSTGIS_GEOS_VERSION >= 35 static void assert_empty_diagram(char* wkt, double tolerance) { LWGEOM* in = lwgeom_from_wkt(wkt, LW_PARSER_CHECK_NONE); @@ -94,6 +95,7 @@ static void assert_empty_diagram(char* wkt, double tolerance) lwgeom_free(in); lwgeom_free(out); } +#endif /* POSTGIS_GEOS_VERSION >= 35 */ static void test_lwgeom_voronoi_diagram_expected_empty(void) { -- 2.40.0