Commit cd6cc569 authored by Alexandre Julliard's avatar Alexandre Julliard

msftedit: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent 8b5bf20c
MODULE = msftedit.dll MODULE = msftedit.dll
IMPORTS = uuid riched20 IMPORTS = uuid riched20
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
msftedit_main.c msftedit_main.c
......
...@@ -46,8 +46,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) ...@@ -46,8 +46,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
switch(reason) switch(reason)
{ {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
/* explicitly load riched20 since it creates the window classes at dll attach time */ /* explicitly load riched20 since it creates the window classes at dll attach time */
richedit = LoadLibraryW( L"riched20.dll" ); richedit = LoadLibraryW( L"riched20.dll" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment