summaryrefslogtreecommitdiff
path: root/otr/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'otr/dllmain.cpp')
-rw-r--r--otr/dllmain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/otr/dllmain.cpp b/otr/dllmain.cpp
index 68fbf4b..8be1df2 100644
--- a/otr/dllmain.cpp
+++ b/otr/dllmain.cpp
@@ -60,6 +60,12 @@ extern "C" DLLIMPORT PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) {
return &pluginInfo;
}
+extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
/////////////////////////
// dodgy, INNEFFICIENT, utility function
////////////////////////