mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 10:11:36 +00:00
browseui: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
35e43ccf1b
commit
c3280aa0d0
|
@ -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 \
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue