Commit b7c57404 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 1f951497
MODULE = inkobj.dll
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
inkobj.c
......@@ -22,24 +22,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(inkobj);
static LONG INKOBJ_refCount;
/*****************************************************
* DllMain (INKOBJ.init)
*/
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
{
TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
}
return TRUE;
}
/*****************************************************
* DllCanUnloadNow (INKOBJ.@)
*/
HRESULT WINAPI DllCanUnloadNow(void)
......
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