Skip to content

Commit

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

git-svn-id: http://svn.osgeo.org/qgis/trunk@9661 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 17, 2008
1 parent 2bad057 commit ea657a2
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 ea657a2

Please sign in to comment.