From 88b5c28dbb8ff09d4c1723578c9de733fd7caeb9 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 2 Mar 2021 10:54:58 +0100 Subject: [PATCH] msimtf: Use --prefer_native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/msimtf/Makefile.in | 2 +- dlls/msimtf/main.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/msimtf/Makefile.in b/dlls/msimtf/Makefile.in index 800969ca60f..7e018cac86d 100644 --- a/dlls/msimtf/Makefile.in +++ b/dlls/msimtf/Makefile.in @@ -1,7 +1,7 @@ MODULE = msimtf.dll IMPORTS = uuid imm32 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ activeimmapp.c \ diff --git a/dlls/msimtf/main.c b/dlls/msimtf/main.c index 76ad6548f4b..c5d3e8b9f32 100644 --- a/dlls/msimtf/main.c +++ b/dlls/msimtf/main.c @@ -44,8 +44,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) { switch(fdwReason) { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: msimtf_instance = hInstDLL; DisableThreadLibraryCalls(hInstDLL);