mmcndmgr: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
768ff9ab12
commit
af904dd33f
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue