summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/alarm/wakeup.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-12-31 12:15:57 +0100
committerSlávek Banko <[email protected]>2021-12-31 12:15:57 +0100
commit762bfec2c849854fc0247acf8d2f107c27b17940 (patch)
treedddce1b148241162ab70667fcd28cd421c7c8f14 /noatun-plugins/alarm/wakeup.cpp
parentc3d0b8b21f6a174cd45213b6c3dcd85b203aafaa (diff)
downloadtdeaddons-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 <[email protected]>
Diffstat (limited to 'noatun-plugins/alarm/wakeup.cpp')
-rw-r--r--noatun-plugins/alarm/wakeup.cpp9
1 files changed, 6 insertions, 3 deletions
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;