From fc4a61702decae1326eb8ecdd986e5df2416088f Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sun, 14 Sep 2014 01:00:44 +0300 Subject: [PATCH] GetPlugin should be extern "C". --- projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp index ca6b8d21..88ccfd85 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp @@ -62,7 +62,7 @@ return 0; //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- -PLUGIN * GetPlugin() +extern "C" PLUGIN * GetPlugin() { return stgc.GetPlugin(); } -- 2.44.2