Commit 02755e0a authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 5f42351d
......@@ -2,7 +2,7 @@ MODULE = wmphoto.dll
IMPORTS = windowscodecs uuid ole32 oleaut32 propsys rpcrt4 shlwapi
PARENTSRC = ../windowscodecs
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
EXTRAINCL = $(JXRLIB_CFLAGS)
C_SRCS = \
......
......@@ -135,8 +135,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
windowscodecs_module = instance;
DisableThreadLibraryCalls(instance);
break;
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
}
return TRUE;
......
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