Commit 5b01a18d authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent a426b45f
......@@ -2,7 +2,7 @@ MODULE = windowscodecsext.dll
IMPORTLIB = windowscodecsext
IMPORTS = ole32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
......@@ -30,22 +30,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
TRACE("(%p, %u, %p)\n", instance, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}
/******************************************************************
* DllGetClassObject
*/
......
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