From bf36b54431c020362db941dcd1171fbb9b81f957 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 16 Sep 2004 09:06:44 +0000 Subject: [PATCH] Changed SPI_cursor_open call changes to be used for USE_VERSION > 80 (change seems to be intended for future releases) git-svn-id: http://svn.osgeo.org/postgis/trunk@826 b70326c6-7e19-0410-871a-916f4a2858ee --- lwgeom/lwgeom_estimate.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lwgeom/lwgeom_estimate.c b/lwgeom/lwgeom_estimate.c index f679d5f45..e21d3bb54 100644 --- a/lwgeom/lwgeom_estimate.c +++ b/lwgeom/lwgeom_estimate.c @@ -10,6 +10,10 @@ * ********************************************************************** * $Log$ + * Revision 1.5 2004/09/16 09:06:12 strk + * Changed SPI_cursor_open call changes to be used for USE_VERSION > 80 + * (change seems to be intended for future releases) + * * Revision 1.4 2004/09/14 07:43:00 strk * Updated call to SPI_cursor_open to 8.0 (beta2) interface. * @@ -382,7 +386,7 @@ Datum build_lwhistogram2d(PG_FUNCTION_ARGS) PG_RETURN_NULL() ; } -#if USE_VERSION >= 80 +#if USE_VERSION > 80 SPIportal = SPI_cursor_open(NULL, SPIplan, NULL, NULL, 1); #else SPIportal = SPI_cursor_open(NULL, SPIplan, NULL, NULL); -- 2.40.0