Navigation Menu

Skip to content

Commit

Permalink
UNUSED macro is MSVC not WIN32 specific
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@7439 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 17, 2007
1 parent ed8fa98 commit b509446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgis.h
Expand Up @@ -130,7 +130,7 @@ class CORE_EXPORT QGis
* or user (~/.qgis.qgis.db) defined projection. */
const int USER_PROJECTION_START_ID=100000;

#ifdef WIN32
#ifdef _MSC_VER
// fake use to make unused variable warnings go away in Visual C++
#define UNUSED(symbol) symbol
#else
Expand Down

0 comments on commit b509446

Please sign in to comment.