From cd6cc5695860d883cb4b4f3da9a853c3236e70cf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 26 Feb 2021 10:23:01 +0100 Subject: [PATCH] msftedit: Use --prefer-native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/msftedit/Makefile.in | 2 +- dlls/msftedit/msftedit_main.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/msftedit/Makefile.in b/dlls/msftedit/Makefile.in index 3e76523118f..56687570054 100644 --- a/dlls/msftedit/Makefile.in +++ b/dlls/msftedit/Makefile.in @@ -1,7 +1,7 @@ MODULE = msftedit.dll IMPORTS = uuid riched20 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ msftedit_main.c diff --git a/dlls/msftedit/msftedit_main.c b/dlls/msftedit/msftedit_main.c index fbad7182a5b..5c7d9268e8c 100644 --- a/dlls/msftedit/msftedit_main.c +++ b/dlls/msftedit/msftedit_main.c @@ -46,8 +46,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) switch(reason) { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: /* explicitly load riched20 since it creates the window classes at dll attach time */ richedit = LoadLibraryW( L"riched20.dll" );