summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:32:32 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:32:43 +0100
commitcc27ba11b72aea59b66dd4e2451e44869f10c17e (patch)
tree03a13134bb93e8d64c610ea28462726878b566a9 /src
parent33a691d8e38e589004567a8267abd7d1815bdc81 (diff)
downloadtdepowersave-cc27ba11b72aea59b66dd4e2451e44869f10c17e.tar.gz
tdepowersave-cc27ba11b72aea59b66dd4e2451e44869f10c17e.zip
Fix build with GCC hidden visibility
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 1762f553a9fcf9fe2719431409e8d466b3a3a8da)
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d44b70c..85fc8fe 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("tdepowersave", I18N_NOOP("TDEPowersave"), version, description,