msvcr80: Remove pre-attach handler for a dll with manifest.
Dmitry Timoshkov
dmitry at baikal.ru
Sun May 19 22:13:05 CDT 2013
Manifest prevents loading of a native dll anyway.
---
dlls/msvcr80/msvcr80.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/msvcr80/msvcr80.c b/dlls/msvcr80/msvcr80.c
index 89a665b..0b8f163 100644
--- a/dlls/msvcr80/msvcr80.c
+++ b/dlls/msvcr80/msvcr80.c
@@ -28,12 +28,10 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
{
switch (reason)
{
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
-
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hdll);
_set_printf_count_output(0);
+ break;
}
return TRUE;
}
--
1.8.2.3
More information about the wine-patches
mailing list