msscript.ocx: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3debf592ab
commit
8a74df6483
|
@ -3,7 +3,7 @@ RC_SRCS = msscript.rc
|
|||
IDL_SRCS = msscript.idl
|
||||
IMPORTS = gdi32 user32 ole32 oleaut32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
msscript.c
|
||||
|
|
|
@ -4013,8 +4013,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
|||
TRACE("(%p %d %p)\n", instance, reason, reserved);
|
||||
|
||||
switch(reason) {
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
msscript_instance = instance;
|
||||
DisableThreadLibraryCalls(instance);
|
||||
|
|
Loading…
Reference in New Issue