Commit 629d4fce authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent a3a0fc94
MODULE = ninput.dll MODULE = ninput.dll
IMPORTLIB = ninput IMPORTLIB = ninput
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
main.c main.c
...@@ -165,18 +165,3 @@ HRESULT WINAPI ProcessInertiaInteractionContext(HINTERACTIONCONTEXT context) ...@@ -165,18 +165,3 @@ HRESULT WINAPI ProcessInertiaInteractionContext(HINTERACTIONCONTEXT context)
FIXME("context %p: stub!\n", context); FIXME("context %p: stub!\n", context);
return E_NOTIMPL; return E_NOTIMPL;
} }
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
{
TRACE("(%p, %d, %p)\n", inst, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(inst);
break;
}
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