From cc27ba11b72aea59b66dd4e2451e44869f10c17e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Dec 2016 15:32:32 +0100 Subject: Fix build with GCC hidden visibility 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 1762f553a9fcf9fe2719431409e8d466b3a3a8da) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.1