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 9a15cfe commit fbfe6955dcf7c41724c2f8199298a0032ffe3e7a
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 fbfe695

Please sign in to comment.