Commit 93e23c5d authored by Alexandre Julliard's avatar Alexandre Julliard

mf: Use --prefer_native instead of DLL_WINE_PREATTACH.

parent 57e79a63
...@@ -3,7 +3,7 @@ IMPORTLIB = mf ...@@ -3,7 +3,7 @@ IMPORTLIB = mf
IMPORTS = advapi32 mfplat ole32 uuid mfuuid strmiids IMPORTS = advapi32 mfplat ole32 uuid mfuuid strmiids
DELAYIMPORTS = evr DELAYIMPORTS = evr
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
copier.c \ copier.c \
......
...@@ -1076,8 +1076,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) ...@@ -1076,8 +1076,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{ {
switch (reason) switch (reason)
{ {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
mf_instance = instance; mf_instance = instance;
DisableThreadLibraryCalls(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