summaryrefslogtreecommitdiffstats
path: root/qt/qextscintilla.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-08 16:28:13 +0100
commita4cbbd1ec376b94577b17f1d0f5d9cdb2aefdf73 (patch)
tree4d471999f0eacde50d2f277f0abaf44c39a8daf7 /qt/qextscintilla.cpp
parent8d464c8f6c082cb79b8d8d90e07fa5b54d414b54 (diff)
downloadtqscintilla-a4cbbd1ec376b94577b17f1d0f5d9cdb2aefdf73.tar.gz
tqscintilla-a4cbbd1ec376b94577b17f1d0f5d9cdb2aefdf73.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> (cherry picked from commit 0c5e20bde1f26abf843fd1c71448b5210b9f350a)
Diffstat (limited to 'qt/qextscintilla.cpp')
-rw-r--r--qt/qextscintilla.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp
index 615fc00..ab54883 100644
--- a/qt/qextscintilla.cpp
+++ b/qt/qextscintilla.cpp
@@ -21,6 +21,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>
#include <tqapplication.h>