wshom.ocx: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
02755e0a53
commit
b8f6852bc5
|
@ -1,7 +1,7 @@
|
|||
MODULE = wshom.ocx
|
||||
IMPORTS = uuid oleaut32 ole32 shell32 user32 advapi32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
shell.c \
|
||||
|
|
|
@ -222,8 +222,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
|||
|
||||
switch(fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
wshom_instance = hInstDLL;
|
||||
DisableThreadLibraryCalls(wshom_instance);
|
||||
|
|
Loading…
Reference in New Issue