inkobj: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1f95149727
commit
b7c5740426
|
@ -1,6 +1,6 @@
|
|||
MODULE = inkobj.dll
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
inkobj.c
|
||||
|
|
|
@ -21,24 +21,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.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue