From b2a40e2e3237877fa9f358a7a0406d22fd550553 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 24 Feb 2021 10:28:37 +0100 Subject: [PATCH] sccbase: Use --prefer-native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/sccbase/Makefile.in | 2 +- dlls/sccbase/main.c | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/dlls/sccbase/Makefile.in b/dlls/sccbase/Makefile.in index 744d5f89d1e..605bd958a20 100644 --- a/dlls/sccbase/Makefile.in +++ b/dlls/sccbase/Makefile.in @@ -1,6 +1,6 @@ MODULE = sccbase.dll -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ main.c diff --git a/dlls/sccbase/main.c b/dlls/sccbase/main.c index b263d4dc5dd..f1325cf4341 100644 --- a/dlls/sccbase/main.c +++ b/dlls/sccbase/main.c @@ -24,21 +24,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(sccbase); -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 (SCCBASE.@) */