Skip to content
Permalink
Browse files

UNUSED macro is MSVC not WIN32 specific

git-svn-id: http://svn.osgeo.org/qgis/trunk@7439 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 17, 2007
1 parent ed8fa98 commit b509446c302dbfa365f78bc3078a1923d8a0afa1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgis.h
@@ -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

0 comments on commit b509446

Please sign in to comment.
You can’t perform that action at this time.