]> granicus.if.org Git - postgis/commitdiff
Added GEOSnoop stub for non-geos installations
authorSandro Santilli <strk@keybit.net>
Fri, 17 Dec 2004 11:06:37 +0000 (11:06 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 17 Dec 2004 11:06:37 +0000 (11:06 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1160 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom_geos.c

index 1e7ae1d33ade619f0cf34cc46712dd31546f3b64..bfa3580c821f18f1245ae37779ac07d07c4ac361 100644 (file)
@@ -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