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

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-26 10:21:35 +01:00
parent 35e43ccf1b
commit c3280aa0d0
2 changed files with 1 additions and 3 deletions

View file

@ -1,7 +1,7 @@
MODULE = browseui.dll
IMPORTS = uuid ole32 comctl32 user32 advapi32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
aclmulti.c \

View file

@ -165,8 +165,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
TRACE("%p 0x%x %p\n", hinst, fdwReason, fImpLoad);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
BROWSEUI_hinstance = hinst;