From fe0d233f55ee5bb844ad96ff61063a6daa7579a9 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 23 Feb 2021 10:06:17 +0100 Subject: [PATCH] itircl: Use --prefer-native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/itircl/Makefile.in | 2 +- dlls/itircl/itircl_main.c | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/dlls/itircl/Makefile.in b/dlls/itircl/Makefile.in index 6e360ebeb44..11eff81d3e0 100644 --- a/dlls/itircl/Makefile.in +++ b/dlls/itircl/Makefile.in @@ -1,6 +1,6 @@ MODULE = itircl.dll -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ itircl_main.c diff --git a/dlls/itircl/itircl_main.c b/dlls/itircl/itircl_main.c index e35bbba3359..d105b6608d5 100644 --- a/dlls/itircl/itircl_main.c +++ b/dlls/itircl/itircl_main.c @@ -27,22 +27,6 @@ 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.@) */