Commit 96be0cfa authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent fe17d149
MODULE = vbscript.dll
IMPORTS = oleaut32 ole32 user32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
compile.c \
......
......@@ -272,8 +272,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:
DisableThreadLibraryCalls(hInstDLL);
vbscript_hinstance = hInstDLL;
......
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