Skip to content

Commit

Permalink
fix 9e21b17 (actually use the value of VERSION_INT as symbol postfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 26, 2012
1 parent 9ad5cc2 commit 71cfacb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmake_templates/qgsconfig.h.in
Expand Up @@ -17,6 +17,7 @@
//reinstate this more generic approach below at some point though
//#define VERSION_INT ${CPACK_PACKAGE_VERSION_MAJOR}${CPACK_PACKAGE_VERSION_MINOR}${CPACK_PACKAGE_VERSION_PATCH}
#define VERSION_INT ${QGIS_VERSION_INT}
#define ABISYM(x) x ## ${QGIS_VERSION_INT}
//used in main.cpp and anywhere else where the release name is needed
#define RELEASE_NAME "${RELEASE_NAME}"

Expand Down
3 changes: 1 addition & 2 deletions src/core/qgsapplication.h
Expand Up @@ -20,8 +20,7 @@
#include <QStringList>

#include <qgis.h>

#define ABISYM(x) x ## VERSION_INT
#include <qgsconfig.h>

/** \ingroup core
* Extends QApplication to provide access to QGIS specific resources such
Expand Down

0 comments on commit 71cfacb

Please sign in to comment.