summaryrefslogtreecommitdiffstats
path: root/src/modules/setup/libkvisetup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/setup/libkvisetup.cpp')
-rw-r--r--src/modules/setup/libkvisetup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp
index 33184cc1..af8e0360 100644
--- a/src/modules/setup/libkvisetup.cpp
+++ b/src/modules/setup/libkvisetup.cpp
@@ -53,7 +53,7 @@ TQString szMircIni;
// this is called by KviApp when no local kvirc directory has been found
// we have nothing to rely on yet... (settings have not been loaded yet)
-KVIMODULEEXPORTFUNC bool setup_begin()
+extern "C" KVIMODULEEXPORTFUNC bool setup_begin()
{
// FIXME: try to guess the user's .kvirc directory
// and the preferred nickname from a previous installation
@@ -69,7 +69,7 @@ KVIMODULEEXPORTFUNC bool setup_begin()
// all the subsystems are up and running (we even have a nice console
// to write on if needed).
// all the options are loaded.
-KVIMODULEEXPORTFUNC void setup_finish()
+extern "C" KVIMODULEEXPORTFUNC void setup_finish()
{
if(bNeedToApplyDefaults)
{