Просмотр исходного кода

vlib: fix compilation issue when configures without PostgreSQL support

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58293 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 лет назад
Родитель
Сommit
01fffdb929
2 измененных файлов с 4 добавлено и 3 удалено
  1. 4 0
      lib/vector/Vlib/local_proto.h
  2. 0 3
      lib/vector/Vlib/pg_local_proto.h

+ 4 - 0
lib/vector/Vlib/local_proto.h

@@ -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*/
 

+ 0 - 3
lib/vector/Vlib/pg_local_proto.h

@@ -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"