Skip to content

Commit

Permalink
prepare for GRASS 7 fata error
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 28, 2014
1 parent 4cf3cb5 commit 232a8d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/grass/qgsgrass.h
Expand Up @@ -43,6 +43,8 @@ class QgsRectangle;
#define GRASS_VERSION_RELEASE_STRING EXPAND( GRASS_VERSION_RELEASE )

#define G_TRY try { if( !setjmp( QgsGrass::jumper ) )
// Ready for > 7.0.beta1
//#define G_TRY try { if( !setjmp(*G_fatal_longjmp(1)) )
#define G_CATCH else { throw QgsGrass::Exception( QgsGrass::errorMessage() ); } } catch

/*!
Expand Down

0 comments on commit 232a8d7

Please sign in to comment.