[GRASS-SVN] r58362 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 2 11:05:50 PST 2013
Author: martinl
Date: 2013-12-02 11:05:50 -0800 (Mon, 02 Dec 2013)
New Revision: 58362
Modified:
grass/trunk/lib/vector/Vlib/open.c
Log:
vlib: fix compilation issue (no pg support)
Modified: grass/trunk/lib/vector/Vlib/open.c
===================================================================
--- grass/trunk/lib/vector/Vlib/open.c 2013-12-02 19:01:05 UTC (rev 58361)
+++ grass/trunk/lib/vector/Vlib/open.c 2013-12-02 19:05:50 UTC (rev 58362)
@@ -320,10 +320,11 @@
/* open topo */
ret = -1;
+#ifdef HAVE_POSTGRES
if (Map->format == GV_FORMAT_POSTGIS)
/* try to read full-topology for PostGIS links */
ret = Vect__open_topo_pg(Map, head_only, update);
-
+#endif
if (ret != 0) {
/* read topology for native format
read pseudo-topology for OGR/PostGIS links */
More information about the grass-commit
mailing list