[GRASS-SVN] r58293 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 24 10:47:07 PST 2013


Author: martinl
Date: 2013-11-24 10:47:07 -0800 (Sun, 24 Nov 2013)
New Revision: 58293

Modified:
   grass/trunk/lib/vector/Vlib/local_proto.h
   grass/trunk/lib/vector/Vlib/pg_local_proto.h
Log:
vlib: fix compilation issue when configures without PostgreSQL support

Modified: grass/trunk/lib/vector/Vlib/local_proto.h
===================================================================
--- grass/trunk/lib/vector/Vlib/local_proto.h	2013-11-24 18:01:26 UTC (rev 58292)
+++ grass/trunk/lib/vector/Vlib/local_proto.h	2013-11-24 18:47:07 UTC (rev 58293)
@@ -3,6 +3,10 @@
 
 #include <grass/vector.h>
 
+/*! Cache type (see Format_info_cache) */
+#define CACHE_FEATURE 0
+#define CACHE_MAP     1
+
 /* Internal vector library subroutines which are not part of public
    API*/
 

Modified: grass/trunk/lib/vector/Vlib/pg_local_proto.h
===================================================================
--- grass/trunk/lib/vector/Vlib/pg_local_proto.h	2013-11-24 18:01:26 UTC (rev 58292)
+++ grass/trunk/lib/vector/Vlib/pg_local_proto.h	2013-11-24 18:47:07 UTC (rev 58293)
@@ -8,9 +8,6 @@
 
 #define CURSOR_PAGE 500
 
-#define CACHE_FEATURE 0
-#define CACHE_MAP     1
-
 /*! Topological access */
 #define TOPO_SCHEMA "topology"
 #define TOPO_ID     "topology_id"



More information about the grass-commit mailing list