diff options
Diffstat (limited to 'otr')
-rw-r--r-- | otr/dllmain.cpp | 6 | ||||
-rw-r--r-- | otr/otr.mdsp | 2 |
2 files changed, 7 insertions, 1 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
////////////////////////
diff --git a/otr/otr.mdsp b/otr/otr.mdsp index dc3fb96..2076694 100644 --- a/otr/otr.mdsp +++ b/otr/otr.mdsp @@ -102,4 +102,4 @@ extraResourceOptions= utils.cpp,6882
common.h,2043
otr_private.h,149
-dllmain.cpp,1358
+dllmain.cpp,1741
|