summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:31:07 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:31:18 +0100
commit34389f110c9db7c8ea5b8cd8f99b2ef9aa9e22a5 (patch)
treee376995446bac91ecfef82423770a38e55c53ff6
parent17715604bf07ade70abed600af71d9dec6de1264 (diff)
downloadkpowersave-34389f110c9db7c8ea5b8cd8f99b2ef9aa9e22a5.tar.gz
kpowersave-34389f110c9db7c8ea5b8cd8f99b2ef9aa9e22a5.zip
Fix build with GCC hidden visibility
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c6f688a973a25341cff101abb8005d0f808c2008)
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ca7ad52..2b91ba0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -49,7 +49,7 @@ TDECmdLineOptions options[] = { { "force-acpi-check", I18N_NOOP("Force a new che
static const char version[] = "0.7.x (0.7.3)";
bool trace = false;
-extern "C"
+extern "C" KDE_EXPORT
int kdemain(int argc, char **argv)
{
TDEAboutData about("kpowersave", I18N_NOOP("KPowersave"), version, description,