From af904dd33f6e243988fff5e6d4feacb7210982bd Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 2 Mar 2021 10:54:53 +0100 Subject: [PATCH] mmcndmgr: Use --prefer_native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/mmcndmgr/Makefile.in | 2 +- dlls/mmcndmgr/mmcndmgr.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/mmcndmgr/Makefile.in b/dlls/mmcndmgr/Makefile.in index 3bc8209fc5c..4a038fa4c61 100644 --- a/dlls/mmcndmgr/Makefile.in +++ b/dlls/mmcndmgr/Makefile.in @@ -1,7 +1,7 @@ MODULE = mmcndmgr.dll IMPORTS = uuid oleaut32 ole32 user32 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ mmcndmgr.c diff --git a/dlls/mmcndmgr/mmcndmgr.c b/dlls/mmcndmgr/mmcndmgr.c index 4e6e2e6d2ba..82f866860d6 100644 --- a/dlls/mmcndmgr/mmcndmgr.c +++ b/dlls/mmcndmgr/mmcndmgr.c @@ -177,8 +177,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) switch (fdwReason) { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: MMC_hInstance = hinstDLL; break;