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

msscript.ocx: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent 3debf592
......@@ -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);
......
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