summaryrefslogtreecommitdiff
path: root/plugins/SmartAutoAway
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-16 18:28:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-16 18:28:49 +0000
commitf7e482e4333df76b198b16c7685c2304007fbe79 (patch)
treedbc5bbd793cba9d4a7ce9c7440664318c53a0d02 /plugins/SmartAutoAway
parent5b0a53a6d3f1b8d70b34631d96d3815d0a334dd3 (diff)
dynamic dll checker
git-svn-id: http://svn.miranda-ng.org/main/trunk@989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmartAutoAway')
-rw-r--r--plugins/SmartAutoAway/saa.cpp2
-rw-r--r--plugins/SmartAutoAway/saani.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SmartAutoAway/saa.cpp b/plugins/SmartAutoAway/saa.cpp
index b48b474faa..a36e5b5981 100644
--- a/plugins/SmartAutoAway/saa.cpp
+++ b/plugins/SmartAutoAway/saa.cpp
@@ -93,7 +93,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirand
return MirandaPluginInfo(mirandaVersion);
}
-static const MUUID interfaces[] = {MIID_AUTOAWAY, MIID_IDLE, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_AUTOAWAY, MIID_IDLE, MIID_LAST};
extern "C" __declspec(dllexport) const MUUID * MirandaPluginInterfaces(void)
{
return interfaces;
diff --git a/plugins/SmartAutoAway/saani.c b/plugins/SmartAutoAway/saani.c
index 3241786c35..088a60e22e 100644
--- a/plugins/SmartAutoAway/saani.c
+++ b/plugins/SmartAutoAway/saani.c
@@ -66,7 +66,7 @@ __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion)
return MirandaPluginInfo(mirandaVersion);
}
-static const MUUID interfaces[] = {MIID_IDLE, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_IDLE, MIID_LAST};
__declspec(dllexport) const MUUID * MirandaPluginInterfaces(void)
{
return interfaces;