From: Sandro Santilli Date: Fri, 17 Dec 2004 11:06:37 +0000 (+0000) Subject: Added GEOSnoop stub for non-geos installations X-Git-Tag: pgis_1_0_0RC1~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=050ddabde4ddc6d821cb936e3ea98480e3f1194b;p=postgis Added GEOSnoop stub for non-geos installations git-svn-id: http://svn.osgeo.org/postgis/trunk@1160 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/lwgeom_geos.c b/lwgeom/lwgeom_geos.c index 1e7ae1d33..bfa3580c8 100644 --- a/lwgeom/lwgeom_geos.c +++ b/lwgeom/lwgeom_geos.c @@ -2561,4 +2561,11 @@ Datum GEOS_polygonize_garray(PG_FUNCTION_ARGS) PG_RETURN_NULL(); // never get here } +PG_FUNCTION_INFO_V1(GEOSnoop); +Datum GEOSnoop(PG_FUNCTION_ARGS) +{ + elog(ERROR,"GEOSnoop:: operation not implemented - compile PostGIS with GEOS support"); + PG_RETURN_NULL(); // never get here +} + #endif // ! USE_GEOS