mf: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
57e79a632e
commit
93e23c5d40
|
@ -3,7 +3,7 @@ IMPORTLIB = mf
|
|||
IMPORTS = advapi32 mfplat ole32 uuid mfuuid strmiids
|
||||
DELAYIMPORTS = evr
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
copier.c \
|
||||
|
|
|
@ -1076,8 +1076,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
|||
{
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
mf_instance = instance;
|
||||
DisableThreadLibraryCalls(instance);
|
||||
|
|
Loading…
Reference in New Issue