diff options
Diffstat (limited to 'plugins/HistorySweeperLight/main.cpp')
-rw-r--r-- | plugins/HistorySweeperLight/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HistorySweeperLight/main.cpp b/plugins/HistorySweeperLight/main.cpp index 3174ab1369..9c1e4e8c66 100644 --- a/plugins/HistorySweeperLight/main.cpp +++ b/plugins/HistorySweeperLight/main.cpp @@ -149,12 +149,12 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) return 0;
}
-__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfoEx;
}
-int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
{
pluginLink = link;
@@ -169,7 +169,7 @@ int __declspec(dllexport) Load(PLUGINLINK *link) return 0;
}
-int __declspec(dllexport) Unload(void)
+extern "C" __declspec(dllexport) int Unload(void)
{
int i;
@@ -182,4 +182,4 @@ int __declspec(dllexport) Unload(void) }
return 0;
-}
+}
\ No newline at end of file |