From c6f688a973a25341cff101abb8005d0f808c2008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Dec 2016 15:31:07 +0100 Subject: [PATCH] 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 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,