mfreadwrite: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
93e23c5d40
commit
768ff9ab12
|
@ -2,7 +2,7 @@ MODULE = mfreadwrite.dll
|
||||||
IMPORTLIB = mfreadwrite
|
IMPORTLIB = mfreadwrite
|
||||||
IMPORTS = mfuuid uuid mfplat ole32
|
IMPORTS = mfuuid uuid mfplat ole32
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
reader.c \
|
reader.c \
|
||||||
|
|
|
@ -51,8 +51,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:
|
||||||
mfinstance = instance;
|
mfinstance = instance;
|
||||||
DisableThreadLibraryCalls(instance);
|
DisableThreadLibraryCalls(instance);
|
||||||
|
|
Loading…
Reference in New Issue