]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp
GetPlugin should be extern "C".
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / stgconfig.cpp
index ca6b8d2127d2a4b0de829b6f0e0fba7e5cecb138..88ccfd851e72a48af802317e4f6d3e370668d5e0 100644 (file)
@@ -62,7 +62,7 @@ return 0;
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
-PLUGIN * GetPlugin()
+extern "C" PLUGIN * GetPlugin()
 {
 return stgc.GetPlugin();
 }