From 324c182bb9772dec5ed4191b9407b74ddf031c15 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2012 14:33:42 +0000 Subject: fixes for some perversions git-svn-id: http://svn.miranda-ng.org/main/trunk@129 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewAwaySysMod/AwaySys.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/NewAwaySysMod/AwaySys.cpp') diff --git a/plugins/NewAwaySysMod/AwaySys.cpp b/plugins/NewAwaySysMod/AwaySys.cpp index c810368ebf..aaaa8f8118 100644 --- a/plugins/NewAwaySysMod/AwaySys.cpp +++ b/plugins/NewAwaySysMod/AwaySys.cpp @@ -29,7 +29,6 @@ was no point in rewriting it all. */ -#define _DECL_DLLMAIN #include "Common.h" #include "m_genmenu.h" #include "m_idle.h" @@ -139,12 +138,10 @@ PLUGININFO oldPluginInfo = { pluginInfo.replacesDefaultModule }; -BOOL WINAPI MyDllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { g_hInstance = hinstDLL; -// have to call _CRT_INIT here, and redefine DLL entry point to MyDllMain because of -// msvcr71.dll's __CppXcptFilter function dependency, which is not present in msvcrt.dll - return _CRT_INIT(hinstDLL, fdwReason, lpvReserved); + return TRUE; } static const MUUID interfaces[] = {MIID_SRAWAY, MIID_LAST}; // TODO: add MIID_WHOISREADING here if there'll be any some time in future.. -- cgit v1.2.3