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

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-23 10:06:17 +01:00
parent b7c5740426
commit fe0d233f55
2 changed files with 1 additions and 17 deletions

View File

@ -1,6 +1,6 @@
MODULE = itircl.dll MODULE = itircl.dll
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
itircl_main.c itircl_main.c

View File

@ -27,22 +27,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(itircl); WINE_DEFAULT_DEBUG_CHANNEL(itircl);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}
/*********************************************************************** /***********************************************************************
* DllRegisterServer (ITIRCL.@) * DllRegisterServer (ITIRCL.@)
*/ */