Skip to content

Commit

Permalink
grass 6.4 fix
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_11_0@9720 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 29, 2008
1 parent 7d9c4ad commit 1e9b573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/grass/qgsgrassplugin.cpp
Expand Up @@ -52,6 +52,7 @@
extern "C" {
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/version.h>
}

#include "qgsgrassplugin.h"
Expand Down Expand Up @@ -496,7 +497,7 @@ void QgsGrassPlugin::newVector()
return;
}

#if defined(GRASS_VERSION_MAJOR) && defined(GRASS_VERSION_MINOR) && \
#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
Expand Down

0 comments on commit 1e9b573

Please sign in to comment.