summaryrefslogtreecommitdiffstats
path: root/qt/qextscintillamacro.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-06 16:06:20 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-06 16:06:20 +0100
commit0c5e20bde1f26abf843fd1c71448b5210b9f350a (patch)
tree3a45b918254a8e0c3147f773507ddee7545c2c6d /qt/qextscintillamacro.cpp
parentd23cdd1e2ce3c26ea3f9722b24c92c826acd7c9c (diff)
downloadtqscintilla-0c5e20bde1f26abf843fd1c71448b5210b9f350a.tar.gz
tqscintilla-0c5e20bde1f26abf843fd1c71448b5210b9f350a.zip
cmake: Setting the WITH_GCC_VISIBILITY option has no effect.
Hidden visibility has always been activated depending on the version of the compiler, regardless of WITH_GCC_VISIBILITY value. The config.h file generated during configuration was not used at all. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'qt/qextscintillamacro.cpp')
-rw-r--r--qt/qextscintillamacro.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt/qextscintillamacro.cpp b/qt/qextscintillamacro.cpp
index 5cbc7f0..16d3636 100644
--- a/qt/qextscintillamacro.cpp
+++ b/qt/qextscintillamacro.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <string.h>