summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tipper/tipper.cpp2
-rw-r--r--yapp/popups2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tipper/tipper.cpp b/tipper/tipper.cpp
index 9a7c3fb..9ad87bc 100644
--- a/tipper/tipper.cpp
+++ b/tipper/tipper.cpp
@@ -62,7 +62,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
}
static const MUUID interfaces[] = {MIID_TOOLTIPS, MIID_LAST};
-__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{
return interfaces;
}
diff --git a/yapp/popups2.cpp b/yapp/popups2.cpp
index 5111e36..66bbc13 100644
--- a/yapp/popups2.cpp
+++ b/yapp/popups2.cpp
@@ -66,7 +66,7 @@ extern "C" POPUPS2_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
}
static const MUUID interfaces[] = {MIID_POPUPS, MIID_LAST};
-__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{
return interfaces;
}