diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-16 18:28:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-16 18:28:49 +0000 |
commit | f7e482e4333df76b198b16c7685c2304007fbe79 (patch) | |
tree | dbc5bbd793cba9d4a7ce9c7440664318c53a0d02 /protocols/Gadu-Gadu | |
parent | 5b0a53a6d3f1b8d70b34631d96d3815d0a334dd3 (diff) |
dynamic dll checker
git-svn-id: http://svn.miranda-ng.org/main/trunk@989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r-- | protocols/Gadu-Gadu/gg.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/Gadu-Gadu/gg.cpp b/protocols/Gadu-Gadu/gg.cpp index 1ec516f8da..6208619fe9 100644 --- a/protocols/Gadu-Gadu/gg.cpp +++ b/protocols/Gadu-Gadu/gg.cpp @@ -37,7 +37,7 @@ PLUGININFOEX pluginInfo = { // {F3FF65F3-250E-416A-BEE9-58C93F85AB33}
{ 0xf3ff65f3, 0x250e, 0x416a, { 0xbe, 0xe9, 0x58, 0xc9, 0x3f, 0x85, 0xab, 0x33 } }
};
-static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCOL, MIID_LAST};
// Other variables
HINSTANCE hInstance;
@@ -141,10 +141,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCOL, MIID_LAST};
//////////////////////////////////////////////////////////
// Cleanups from last plugin
|