Skip to content
Browse files
UNUSED macro is MSVC not WIN32 specific
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
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

0 comments on commit b509446

Please sign in to comment.