Commit 8b5bf20c authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent ce90e69e
MODULE = msctf.dll MODULE = msctf.dll
IMPORTS = uuid ole32 oleaut32 user32 advapi32 IMPORTS = uuid ole32 oleaut32 user32 advapi32
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
categorymgr.c \ categorymgr.c \
......
...@@ -556,8 +556,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad) ...@@ -556,8 +556,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
TRACE("%p 0x%x %p\n", hinst, fdwReason, fImpLoad); TRACE("%p 0x%x %p\n", hinst, fdwReason, fImpLoad);
switch (fdwReason) switch (fdwReason)
{ {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
MSCTF_hinstance = hinst; MSCTF_hinstance = hinst;
tlsIndex = TlsAlloc(); tlsIndex = TlsAlloc();
......
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