Skip to content

Commit

Permalink
Fixes for GRASS vector to work with current GRASS in trunk (from Mark…
Browse files Browse the repository at this point in the history
…us Neteler)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9661 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 17, 2008
1 parent 417de81 commit 70f11ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/grass/qgsgrassplugin.cpp
Expand Up @@ -479,7 +479,12 @@ void QgsGrassPlugin::newVector()
return;
}

#if defined(GRASS_VERSION_MAJOR) && defined(GRASS_VERSION_MINOR) && \
( ( GRASS_VERSION_MAJOR == 6 && GRASS_VERSION_MINOR >= 4 ) || GRASS_VERSION_MAJOR > 6 )
Vect_build( &Map );
#else
Vect_build( &Map, stderr );
#endif
Vect_set_release_support( &Map );
Vect_close( &Map );

Expand Down

0 comments on commit 70f11ff

Please sign in to comment.