[postgis-commits] svn - r3064 - trunk/lwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Sat Oct 4 10:49:51 PDT 2008
Author: pramsey
Date: 2008-10-04 10:49:51 -0700 (Sat, 04 Oct 2008)
New Revision: 3064
Modified:
trunk/lwgeom/lwgeom_geos_c.c
Log:
Protect prepared geometry implementation in GEOS>=3.1 defines.
Modified: trunk/lwgeom/lwgeom_geos_c.c
===================================================================
--- trunk/lwgeom/lwgeom_geos_c.c 2008-10-04 16:00:46 UTC (rev 3063)
+++ trunk/lwgeom/lwgeom_geos_c.c 2008-10-04 17:49:51 UTC (rev 3064)
@@ -3559,6 +3559,7 @@
** PreparedGeometry have to be cached, because the PreparedGeometry
** contains a reference to the geometry.
*/
+#ifdef PREPARED_GEOM
typedef struct
{
int32 key1;
@@ -3793,7 +3794,6 @@
** cycling keys don't cause too much preparing.
**
*/
-#ifdef PREPARED_GEOM
PrepGeomCache*
GetPrepGeomCache(FunctionCallInfoData *fcinfo, PG_LWGEOM *serialized_geom1, PG_LWGEOM *serialized_geom2, int32 key1, int32 key2)
{
More information about the postgis-commits
mailing list