From 762bfec2c849854fc0247acf8d2f107c27b17940 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 --- noatun-plugins/alarm/wakeup.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'noatun-plugins/alarm') diff --git a/noatun-plugins/alarm/wakeup.cpp b/noatun-plugins/alarm/wakeup.cpp index 137a3aa..fabec0a 100644 --- a/noatun-plugins/alarm/wakeup.cpp +++ b/noatun-plugins/alarm/wakeup.cpp @@ -39,10 +39,13 @@ #include "kminutespinbox.h" #include "kpercentspinbox.h" -extern "C" Plugin *create_plugin() +extern "C" { - TDEGlobal::locale()->insertCatalogue("wakeup"); - return new Wakeup(); + KDE_EXPORT Plugin* create_plugin() + { + TDEGlobal::locale()->insertCatalogue("wakeup"); + return new Wakeup(); + } } Wakeup *Wakeup::wakeme = 0; -- cgit v1.2.1