Skip to content

Commit

Permalink
Fix QSCINTILLA_VERSION_STR redefinition warnings emitted on
Browse files Browse the repository at this point in the history
newer QScintilla versions due to presence of
QSCINTILLA_VERSION_STR in QSci headers
  • Loading branch information
nyalldawson committed Feb 23, 2021
1 parent fc1ac8b commit 53bf2cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake_templates/qgsconfig.h.in
Expand Up @@ -35,7 +35,9 @@

#define QGIS_SERVER_MODULE_SUBDIR "${QGIS_SERVER_MODULE_SUBDIR}"

#if !defined(QSCINTILLA_VERSION_STR)
#define QSCINTILLA_VERSION_STR "${QSCINTILLA_VERSION_STR}"
#endif

#if defined( __APPLE__ )
//used by Mac to find system or bundle resources relative to amount of bundling
Expand Down

0 comments on commit 53bf2cf

Please sign in to comment.