From 5363fd55b8fed6a22d63017ff110ddd7dc619c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 31 Dec 2021 12:15:57 +0100 Subject: Add option WITH_GCC_VISIBILITY. Fix building with hidden visibility. Add missing definitions to config.h.cmake. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 762bfec2c849854fc0247acf8d2f107c27b17940) --- noatun-plugins/noatunmadness/madness.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'noatun-plugins/noatunmadness') diff --git a/noatun-plugins/noatunmadness/madness.cpp b/noatun-plugins/noatunmadness/madness.cpp index 32014f6..07a3581 100644 --- a/noatun-plugins/noatunmadness/madness.cpp +++ b/noatun-plugins/noatunmadness/madness.cpp @@ -21,10 +21,10 @@ RMS's novel that I'm supposed to put at the top of every story. He's insane. extern "C" { -Plugin *create_plugin() -{ - return new Madness(); -} + KDE_EXPORT Plugin* create_plugin() + { + return new Madness(); + } } Madness::Madness() -- cgit v1.2.1