diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-12-31 12:15:57 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-12-31 12:15:57 +0100 |
commit | 762bfec2c849854fc0247acf8d2f107c27b17940 (patch) | |
tree | dddce1b148241162ab70667fcd28cd421c7c8f14 /kate/katesort | |
parent | c3d0b8b21f6a174cd45213b6c3dcd85b203aafaa (diff) | |
download | tdeaddons-762bfec2c849854fc0247acf8d2f107c27b17940.tar.gz tdeaddons-762bfec2c849854fc0247acf8d2f107c27b17940.zip |
Add option WITH_GCC_VISIBILITY.
Fix building with hidden visibility.
Add missing definitions to config.h.cmake.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kate/katesort')
-rw-r--r-- | kate/katesort/plugin_sort.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/katesort/plugin_sort.cpp b/kate/katesort/plugin_sort.cpp index 904d62e..fa55734 100644 --- a/kate/katesort/plugin_sort.cpp +++ b/kate/katesort/plugin_sort.cpp @@ -38,11 +38,11 @@ class PluginView : public KXMLGUIClient extern "C" { - void* init_katesortplugin() - { - TDEGlobal::locale()->insertCatalogue("katesort"); - return new KatePluginFactory; - } + KDE_EXPORT void* init_katesortplugin() + { + TDEGlobal::locale()->insertCatalogue("katesort"); + return new KatePluginFactory; + } } KatePluginFactory::KatePluginFactory() |