summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/main.cpp')
-rw-r--r--protocols/FacebookRM/src/main.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp
index ee2810a5c7..a2d89766aa 100644
--- a/protocols/FacebookRM/src/main.cpp
+++ b/protocols/FacebookRM/src/main.cpp
@@ -44,12 +44,6 @@ PLUGININFOEX pluginInfo = {
{ 0x8432b009, 0xff32, 0x4727, { 0xaa, 0xe6, 0xa9, 0x3, 0x50, 0x38, 0xfd, 0x58 } }
};
-DWORD WINAPI DllMain(HINSTANCE hInstance, DWORD, LPVOID)
-{
- g_hInstance = hInstance;
- return TRUE;
-}
-
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
g_mirandaVersion = mirandaVersion;
@@ -97,3 +91,5 @@ extern "C" int __declspec(dllexport) Unload(void)
{
return 0;
}
+
+extern "C" _pfnCrtInit _pRawDllMain = &CMPlugin::RawDllMain;