From 18f0627a42d9a0e762fc0e1d8338f0a521d90fe7 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 22 Feb 2021 09:23:41 +0100 Subject: [PATCH] acledit: Use --prefer-native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/acledit/Makefile.in | 2 +- dlls/acledit/main.c | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/dlls/acledit/Makefile.in b/dlls/acledit/Makefile.in index 941eb0772df..cd026549e6e 100644 --- a/dlls/acledit/Makefile.in +++ b/dlls/acledit/Makefile.in @@ -1,6 +1,6 @@ MODULE = acledit.dll -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ main.c diff --git a/dlls/acledit/main.c b/dlls/acledit/main.c index 50797c074cd..314fa4ab0c6 100644 --- a/dlls/acledit/main.c +++ b/dlls/acledit/main.c @@ -29,24 +29,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(acledit); -/***************************************************** - * DllMain - */ -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) -{ - TRACE("(%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; -} - /*********************************************************************** * FMExtensionProcW (acledit.@) *