[GRASS-SVN] r53690 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 5 05:07:09 PST 2012
Author: martinl
Date: 2012-11-05 05:07:09 -0800 (Mon, 05 Nov 2012)
New Revision: 53690
Modified:
grass/trunk/lib/vector/Vlib/copy.c
Log:
vlib: add missing #ifdef (--without-postgres)
Modified: grass/trunk/lib/vector/Vlib/copy.c
===================================================================
--- grass/trunk/lib/vector/Vlib/copy.c 2012-11-05 12:45:07 UTC (rev 53689)
+++ grass/trunk/lib/vector/Vlib/copy.c 2012-11-05 13:07:09 UTC (rev 53690)
@@ -287,10 +287,12 @@
if (with_z)
Points->z[0] = z;
+#ifdef HAVE_POSTGRES
if (-1 == V2__write_node_pg(Out, Points)) {
G_warning(_("Writing node %d failed"), node);
return 1;
}
+#endif
}
Vect_destroy_line_struct(Points);
More information about the grass-commit
mailing list