Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Workaround #2 for changed version.h in GRASS cvs >= 26.4.2007
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6924 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed May 1, 2007
1 parent c7c9e8b commit 713be40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/grass/qgsgrassnewmapset.cpp
Expand Up @@ -63,10 +63,14 @@
// For bug in GPJ_osr_to_grass()
#include "grass/version.h"
// Prevents some compiler warnings from the version.h include
#ifndef GRASS_VERSION_RELEASE
// When using newer version of GRASS (cvs >= 26.4.2007),
// these variables are #defined instead of being static variables.
QString temp1(GRASS_VERSION_STRING);
QString temp2(GRASS_VERSION_MAJOR);
QString temp3(GRASS_VERSION_MINOR);
QString temp4(GRASS_VERSION_RELEASE);
#endif

bool QgsGrassNewMapset::mRunning = false;

Expand Down

0 comments on commit 713be40

Please sign in to comment.