]> granicus.if.org Git - postgis/commitdiff
Changed SPI_cursor_open call changes to be used for USE_VERSION > 80
authorSandro Santilli <strk@keybit.net>
Thu, 16 Sep 2004 09:06:44 +0000 (09:06 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 16 Sep 2004 09:06:44 +0000 (09:06 +0000)
(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

index f679d5f45f8147b1c642f2ec4dd72e12d061bf94..e21d3bb54a26da0d93c858dfd161dddf20a8fc99 100644 (file)
  * 
  **********************************************************************
  * $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);