Module: wine Branch: master Commit: 3d154c7e2d3a1eba093cc99e79b69a2604197b66 URL: https://source.winehq.org/git/wine.git/?a=commit;h=3d154c7e2d3a1eba093cc99e7...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Feb 22 09:24:16 2021 +0100
compstui: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/compstui/Makefile.in | 2 +- dlls/compstui/compstui_main.c | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-)
diff --git a/dlls/compstui/Makefile.in b/dlls/compstui/Makefile.in index 2cbc2ed6729..124d9f16270 100644 --- a/dlls/compstui/Makefile.in +++ b/dlls/compstui/Makefile.in @@ -1,7 +1,7 @@ MODULE = compstui.dll IMPORTLIB = compstui
-EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ compstui_main.c diff --git a/dlls/compstui/compstui_main.c b/dlls/compstui/compstui_main.c index e05acdc0fad..8dc715666c4 100644 --- a/dlls/compstui/compstui_main.c +++ b/dlls/compstui/compstui_main.c @@ -31,25 +31,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(compstui);
-/***************************************************** - * 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; -} - /****************************************************************** * CommonPropertySheetUIA (COMPSTUI.@) *